From 3802c760ef0ddcd5199a396b19bfb98e295e6a5d Mon Sep 17 00:00:00 2001 From: Rexios Date: Wed, 19 Jul 2023 11:04:00 -0400 Subject: [PATCH] Get local app data from environment --- bin/link.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/link.dart b/bin/link.dart index d2c5a54..3821270 100644 --- a/bin/link.dart +++ b/bin/link.dart @@ -15,7 +15,7 @@ final homeDirectory = final pubCacheDirectory = Platform.environment['PUB_CACHE'] ?? (Platform.isWindows - ? r'%LOCALAPPDATA%\Pub\Cache' + ? Platform.environment['LOCALAPPDATA']! + r'\Pub\Cache' : '$homeDirectory/.pub-cache'); Future linkDependencies(List projects) async {