New export and publish scripts

This commit is contained in:
Marco 2025-05-09 10:18:40 +02:00
commit 881a4897da
4 changed files with 37 additions and 100 deletions

View file

@ -41,7 +41,14 @@ if (Test-Path $configFile) {
}
# Step 4: Export the build
#& $godotPath --headless --export-release "Windows Desktop" "$buildDir\$fileName.exe"
& $godotPath --headless --export-release "Windows Desktop" "$buildDir\win\$fileName.exe"
#& $godotPath --headless --export-release "Windows Desktop" "$buildDir\win\$fileName.exe"
#& $godotPath --headless --export-release "Linux" "$buildDir\linux\$fileName.x86_64"
#& $godotPath --headless --export-release "Linux" "$buildDir\linux\$fileName.x86_64"
# Step 4: Export the Windows build via CMD in the same window
$winExportCmd = "`"$godotPath`" --headless --export-release `"Windows Desktop`" `"$buildDir\win\$fileName.exe`""
& cmd.exe /c $winExportCmd
# Step 5: Export the Linux build via CMD in the same window
$linuxExportCmd = "`"$godotPath`" --headless --export-release `"Linux`" `"$buildDir\linux\$fileName.x86_64`""
& cmd.exe /c $linuxExportCmd