Skip to content

Commit 6ade28e

Browse files
committed
re
1 parent 499f615 commit 6ade28e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ if ($scoopConfig -and $scoopConfig.PSObject.Properties.Name -contains 'lastUpdat
13821382
# END NOTE
13831383

13841384
# Scoop root directory
1385-
$scoopdir = $env:SCOOP, (get_config ROOT_PATH), (Resolve-Path "$PSScriptRoot\..\..\..\..") | Where-Object { -not [String]::IsNullOrEmpty($_) } | Select-Object -First 1
1385+
$scoopdir = $env:SCOOP, (get_config ROOT_PATH), (Resolve-Path "$PSScriptRoot\..\..\..\.."), "$([System.Environment]::GetFolderPath('UserProfile'))\scoop" | Where-Object { -not [String]::IsNullOrEmpty($_) } | Select-Object -First 1
13861386

13871387
# Scoop global apps directory
13881388
$globaldir = $env:SCOOP_GLOBAL, (get_config GLOBAL_PATH), "$([System.Environment]::GetFolderPath('CommonApplicationData'))\scoop" | Where-Object { -not [String]::IsNullOrEmpty($_) } | Select-Object -First 1

0 commit comments

Comments
 (0)