Update- remove dot. Directory name will be FlowLauncher

when nuget pack ignores the dot so instead of getting Flow.Launcher as parent directory name we get Flow
This commit is contained in:
Jeremy Wu 2020-04-24 12:15:23 +10:00
parent 5a45591550
commit a60b840837
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package>
<metadata>
<id>Flow.Launcher</id>
<id>FlowLauncher</id>
<title>Flow Launcher</title>
<version>$version$</version>
<authors>happlebao, Jeremy Wu</authors>

View file

@ -93,7 +93,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
Write-Host "Input path: $input"
Nuget pack $spec -Version $version -Properties Configuration=Release -BasePath $input -OutputDirectory $output
$nupkg = "$output\Flow.Launcher.$version.nupkg"
$nupkg = "$output\FlowLauncher.$version.nupkg"
Write-Host "nupkg path: $nupkg"
$icon = "$path\Flow.Launcher\Resources\app.ico"
Write-Host "icon: $icon"
@ -107,7 +107,7 @@ function Pack-Squirrel-Installer ($path, $version, $output) {
Move-Item $temp\* $output -Force
Remove-Item $temp
$file = "$output\Flow.Launcher-$version.exe"
$file = "$output\Flow Launcher-$version.exe"
Write-Host "Filename: $file"
Move-Item "$output\Setup.exe" $file -Force