From 82584c26bba9587a0f9ee9fa8f0c4b48f5397257 Mon Sep 17 00:00:00 2001 From: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com> Date: Fri, 3 May 2024 18:54:30 +0800 Subject: [PATCH] Create UserData folder before Packing --- Scripts/post_build.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index 49de9df8c..9bb7ef2dc 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -119,7 +119,10 @@ function Pack-Velopack-Installer($path, $version, $output) { dotnet tool install --global vpk } - + + # Create UserData folder before Packing + New-Item -ItemType Directory -Force -Path "$input\UserData" + vpk pack --packVersion $version --packDir $input --packId FlowLauncher --mainExe Flow.Launcher.exe --channel $channel }