| Index: utils/pub/pub.dart
|
| diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
|
| index 1bd1a40e543f8c3239dc786368cd08bd603f5eac..3bab1a8a6b1a8652a06c59edede3e19534c9c64b 100644
|
| --- a/utils/pub/pub.dart
|
| +++ b/utils/pub/pub.dart
|
| @@ -80,8 +80,10 @@ main() {
|
| var cacheDir;
|
| if (Platform.environment.containsKey('PUB_CACHE')) {
|
| cacheDir = Platform.environment['PUB_CACHE'];
|
| + } else if (Platform.operatingSystem == 'windows') {
|
| + var appData = Platform.environment['APPDATA'];
|
| + cacheDir = join(appData, 'Pub', 'Package Cache');
|
| } else {
|
| - // TODO(nweiz): Choose a better default for Windows.
|
| cacheDir = '${Platform.environment['HOME']}/.pub-cache';
|
| }
|
|
|
|
|