mirror of
https://github.com/ChrisTitusTech/winutil
synced 2026-04-05 22:28:31 +00:00
Unify $winutildir (#4004)
This commit is contained in:
@@ -14,8 +14,8 @@ function Set-PackageManagerPreference {
|
||||
[PackageManagers]$preferredPackageManager
|
||||
)
|
||||
|
||||
$preferencePath = "$env:LOCALAPPDATA\winutil\preferences.ini"
|
||||
$oldChocoPath = "$env:LOCALAPPDATA\winutil\preferChocolatey.ini"
|
||||
$preferencePath = "$winutildir\preferences.ini"
|
||||
$oldChocoPath = "$winutildir\preferChocolatey.ini"
|
||||
|
||||
#Try loading from file if no argument given.
|
||||
if ($null -eq $preferredPackageManager) {
|
||||
|
||||
Reference in New Issue
Block a user