mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-19 20:13:47 +00:00
New export and publish scripts
This commit is contained in:
parent
01e61cb685
commit
881a4897da
4 changed files with 37 additions and 100 deletions
13
Export.ps1
13
Export.ps1
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue