Revert output path

This commit is contained in:
VictoriousRaptor 2024-05-04 12:02:05 +08:00
parent 65bb897103
commit 61238641cb
2 changed files with 5 additions and 3 deletions

View file

@ -19,7 +19,7 @@ jobs:
runs-on: windows-latest
env:
FlowVersion: 1.17.2
FlowVersion: 1.18.0
NUGET_CERT_REVOCATION_MODE: offline
BUILD_NUMBER: ${{ github.run_number }}
steps:

View file

@ -105,6 +105,7 @@ function Pack-Velopack-Installer($path, $version, $output)
Write-Host "Packing: $spec"
Write-Host "Input path: $input"
Write-Host "Output path: $output"
$repoUrl = "https://github.com/Flow-Launcher/Prereleases"
@ -121,7 +122,8 @@ function Pack-Velopack-Installer($path, $version, $output)
}
# Create UserData folder before Packing
New-Item -ItemType Directory -Force -Path "$input\UserData"
# FIXME userdata should not be created in installer version
# New-Item -ItemType Directory -Force -Path "$input\UserData"
vpk pack --packVersion $version --packDir $input --packId FlowLauncher --mainExe Flow.Launcher.exe --channel $channel --outputDir $output --packTitle "Flow Launcher" --icon "$input\Images\app.ico"
}
@ -147,7 +149,7 @@ function Main
Publish-Self-Contained $p
$o = "$p\Output\Packages"
$o = "$p\Releases"
Validate-Directory $o
Pack-Velopack-Installer $p $v $o
}