mirror of
https://github.com/Baipyrus/ProxySwitcher.git
synced 2024-12-26 12:41:45 +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
|
# Add program to PATH for cli application
|
||||||
$userpath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
|
$userpath = [System.Environment]::GetEnvironmentVariable("PATH", "User")
|
||||||
$userpath = $userpath + ";$programDir"
|
$userpath = $userpath + ";$programPath"
|
||||||
[System.Environment]::SetEnvironmentVariable("PATH", $userpath, "User")
|
[System.Environment]::SetEnvironmentVariable("PATH", $userpath, "User")
|
||||||
|
|
||||||
# Create Startmenu Shortcut
|
# Create Startmenu Shortcut
|
||||||
|
Loading…
Reference in New Issue
Block a user