mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-25 12:11:46 +00:00
replace $programDir with $programPath
This commit is contained in:
parent
78cd3f1734
commit
da6597f8fb
@ -53,7 +53,7 @@ if ($isRelease)
|
||||
|
||||
# Add program to PATH for cli application
|
||||
$userpath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
|
||||
$userpath = $userpath + ";$programDir"
|
||||
$userpath = $userpath + ";$programPath"
|
||||
[System.Environment]::SetEnvironmentVariable("PATH", $userpath, "User")
|
||||
|
||||
# Create Startmenu Shortcut
|
||||
|
Loading…
Reference in New Issue
Block a user