mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
update post build script to use ppy.squirrel + latest nuget cmdline
This commit is contained in:
parent
6d9f730d81
commit
2eb4d55ab9
1 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ function Copy-Resources ($path, $config) {
|
||||||
Copy-Item -Recurse -Force $path\Plugins\HelloWorldPython $target\Plugins\HelloWorldPython
|
Copy-Item -Recurse -Force $path\Plugins\HelloWorldPython $target\Plugins\HelloWorldPython
|
||||||
Copy-Item -Recurse -Force $path\JsonRPC $target\JsonRPC
|
Copy-Item -Recurse -Force $path\JsonRPC $target\JsonRPC
|
||||||
# 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 $output\Update.exe
|
Copy-Item -Force $env:USERPROFILE\.nuget\packages\ppy.squirrel.windows\1.9.0.4\tools\Squirrel.exe $output\Update.exe
|
||||||
}
|
}
|
||||||
|
|
||||||
function Delete-Unused ($path, $config) {
|
function Delete-Unused ($path, $config) {
|
||||||
|
|
@ -98,7 +98,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
|
||||||
$icon = "$path\Wox\Resources\app.ico"
|
$icon = "$path\Wox\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\ppy.squirrel.windows\1.9.0.4\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"
|
||||||
|
|
@ -126,7 +126,7 @@ function Main {
|
||||||
$o = "$p\Output\Packages"
|
$o = "$p\Output\Packages"
|
||||||
Validate-Directory $o
|
Validate-Directory $o
|
||||||
# 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.
|
||||||
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\3.4.3\tools\NuGet.exe -Force
|
New-Alias Nuget $env:USERPROFILE\.nuget\packages\NuGet.CommandLine\5.4.0\tools\NuGet.exe -Force
|
||||||
Pack-Squirrel-Installer $p $v $o
|
Pack-Squirrel-Installer $p $v $o
|
||||||
|
|
||||||
$isInCI = $env:APPVEYOR
|
$isInCI = $env:APPVEYOR
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue