Skip to content

Commit 695736f

Browse files
authored
Merge pull request #296 from mook-as/win-installer-path-repeated
NSIS: Add extra nested `resources` to PATH
2 parents 8b4cdbd + bf9814c commit 695736f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/add-to-path.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ param($InstallDir)
44

55
$TargetUser = [System.EnvironmentVariableTarget]::User
66
$path = [System.Environment]::GetEnvironmentVariable('PATH', $TargetUser) -split ';'
7-
$desiredPath = Join-Path $InstallDir 'resources\win32\bin'
7+
$desiredPath = Join-Path $InstallDir 'resources\resources\win32\bin'
88
if ($path -notcontains $desiredPath) {
99
$path += $desiredPath
1010
[System.Environment]::SetEnvironmentVariable('PATH', ($path -join ';'), $TargetUser)

0 commit comments

Comments
 (0)