From 61238641cbca4be9445ac0bc31c74b7c06b36ad3 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Sat, 4 May 2024 12:02:05 +0800 Subject: [PATCH] Revert output path --- .github/workflows/dotnet.yml | 2 +- Scripts/post_build.ps1 | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 331455fc8..0a4773de4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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: diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 761ad7d7d..e8a098696 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -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 }