Linux export

This commit is contained in:
Marco 2025-04-26 17:07:43 +02:00
commit ce1d791f7a
3 changed files with 13 additions and 5 deletions

View file

@ -38,5 +38,6 @@ 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 "Linux" "$buildDir\linux\$fileName.exe"

View file

@ -12,14 +12,21 @@ $PreReleaseLabel = $gitVersionOutput.PreReleaseLabelWithDash
$zipFileName = "$fileName.$fullSemVer.zip"
$zipFilePath = "$zipOutputDir\$zipFileName"
$zipFilePathLinux = "$zipOutputDir\$zipFileName"
# Zip the build folder
if (!(Test-Path $zipOutputDir)) {
New-Item -ItemType Directory -Path $zipOutputDir | Out-Null
}
Compress-Archive -Path "$buildDir\*" -DestinationPath $zipFilePath -Force
Compress-Archive -Path "$buildDir\win\*" -DestinationPath $zipFilePath -Force
Write-Host "Build completed and packaged as $zipFilePath"
Write-Host "Windows Build completed and packaged as $zipFilePath"
& $butlerPath push $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
Compress-Archive -Path "$buildDir\linux\*" -DestinationPath $zipFilePathLinux -Force
Write-Host "Linux Build completed and packaged as $zipFilePathLinux"
& $butlerPath push $zipFilePath maddoscientisto/cirno-no-reason:windows$PreReleaseLabel --userversion $fullSemVer
& $butlerPath push $zipFilePathLinux maddoscientisto/cirno-no-reason:linux$PreReleaseLabel --userversion $fullSemVer

View file

@ -79,7 +79,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
export_path="build/linux/cirnoreason.x86_64"
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""