Skip to content

Commit 0017971

Browse files
committed
revert nuget_packages enviromental variables
1 parent 9cd4e80 commit 0017971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Scripts/post_build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Build-Path {
3333

3434
function Copy-Resources ($path) {
3535
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
36-
Copy-Item -Force $env:NUGET_PACKAGES\squirrel.windows\1.5.2\tools\Squirrel.exe $path\Output\Update.exe
36+
Copy-Item -Force $env:USERPROFILE\.nuget\packages\squirrel.windows\1.5.2\tools\Squirrel.exe $path\Output\Update.exe
3737
}
3838

3939
function Delete-Unused ($path, $config) {
@@ -79,7 +79,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
7979
$icon = "$path\Flow.Launcher\Resources\app.ico"
8080
Write-Host "icon: $icon"
8181
# Squirrel.com: https://github.com/Squirrel/Squirrel.Windows/issues/369
82-
New-Alias Squirrel $env:NUGET_PACKAGES\squirrel.windows\1.5.2\tools\Squirrel.exe -Force
82+
New-Alias Squirrel $env:USERPROFILE\.nuget\packages\squirrel.windows\1.5.2\tools\Squirrel.exe -Force
8383
# why we need Write-Output: https://github.com/Squirrel/Squirrel.Windows/issues/489#issuecomment-156039327
8484
# directory of releaseDir in squirrel can't be same as directory ($nupkg) in releasify
8585
$temp = "$output\Temp"

0 commit comments

Comments
 (0)