mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
install only if cache not exists
This commit is contained in:
parent
2eb6474853
commit
4337c607ee
1 changed files with 7 additions and 0 deletions
|
|
@ -111,6 +111,13 @@ function Pack-Velopack-Installer($path, $version, $output)
|
|||
$repoUrl = "https://github.com/Flow-Launcher/Flow.Launcher"
|
||||
}
|
||||
|
||||
Set-Alias vpk "~/.dotnet/tools/vpk.exe"
|
||||
|
||||
if (!(Get-Command vpk -ErrorAction SilentlyContinue))
|
||||
{
|
||||
dotnet tool install --global vpk
|
||||
}
|
||||
|
||||
vpk pack --packVersion $version --packDir $input --packId FlowLauncher --mainExe Flow.Launcher.exe --channel $channel
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue