replace $programDir with $programPath

This commit is contained in:
Baipyrus 2024-09-23 18:23:18 +02:00 committed by GitHub
parent 78cd3f1734
commit da6597f8fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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