mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix Squirrel.exe path
This commit is contained in:
parent
3596f59430
commit
f7b3a7c812
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ function Build-Path {
|
||||||
|
|
||||||
function Copy-Resources ($path) {
|
function Copy-Resources ($path) {
|
||||||
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
|
# making version static as multiple versions can exist in the nuget folder and in the case a breaking change is introduced.
|
||||||
Copy-Item -Force $env:USERPROFILE\.nuget\packages\squirrel.windows\1.5.2\tools\Squirrel.exe $path\Output\Update.exe
|
Copy-Item -Force $env:USERPROFILE\.nuget\packages\squirrel.windows\1.9.0\tools\Squirrel.exe $path\Output\Update.exe
|
||||||
}
|
}
|
||||||
|
|
||||||
function Delete-Unused ($path, $config) {
|
function Delete-Unused ($path, $config) {
|
||||||
|
|
@ -79,7 +79,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
|
||||||
$icon = "$path\Flow.Launcher\Resources\app.ico"
|
$icon = "$path\Flow.Launcher\Resources\app.ico"
|
||||||
Write-Host "icon: $icon"
|
Write-Host "icon: $icon"
|
||||||
# Squirrel.com: https://github.com/Squirrel/Squirrel.Windows/issues/369
|
# Squirrel.com: https://github.com/Squirrel/Squirrel.Windows/issues/369
|
||||||
New-Alias Squirrel $env:USERPROFILE\.nuget\packages\squirrel.windows\1.5.2\tools\Squirrel.exe -Force
|
New-Alias Squirrel $env:USERPROFILE\.nuget\packages\squirrel.windows\1.9.0\tools\Squirrel.exe -Force
|
||||||
# why we need Write-Output: https://github.com/Squirrel/Squirrel.Windows/issues/489#issuecomment-156039327
|
# why we need Write-Output: https://github.com/Squirrel/Squirrel.Windows/issues/489#issuecomment-156039327
|
||||||
# directory of releaseDir in squirrel can't be same as directory ($nupkg) in releasify
|
# directory of releaseDir in squirrel can't be same as directory ($nupkg) in releasify
|
||||||
$temp = "$output\Temp"
|
$temp = "$output\Temp"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue