mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix nupkg naming conflict for framework-dependent builds
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
This commit is contained in:
parent
e993bba7ca
commit
5d4d05a077
1 changed files with 8 additions and 0 deletions
|
|
@ -74,6 +74,14 @@ function Pack-Squirrel-Installer ($path, $version, $output, $inputPath = "$path\
|
|||
nuget pack $spec -Version $version -BasePath $inputPath -OutputDirectory $output -Properties Configuration=Release
|
||||
|
||||
$nupkg = "$output\FlowLauncher.$version.nupkg"
|
||||
|
||||
# Rename the nupkg file if this is the framework-dependent version to avoid conflicts
|
||||
if ($suffix -ne "") {
|
||||
$nupkgRenamed = "$output\FlowLauncher$suffix.$version.nupkg"
|
||||
Move-Item $nupkg $nupkgRenamed -Force
|
||||
$nupkg = $nupkgRenamed
|
||||
}
|
||||
|
||||
Write-Host "nupkg path: $nupkg"
|
||||
$icon = "$path\Flow.Launcher\Resources\app.ico"
|
||||
Write-Host "icon: $icon"
|
||||
|
|
|
|||
Loading…
Reference in a new issue