Migrate to Godot 4 #1

Merged
darknight merged 27 commits from feature/godot-migration into main 2026-05-17 21:32:26 +02:00
2 changed files with 14 additions and 9 deletions
Showing only changes of commit fbc2b9247a - Show all commits
+12 -7
View File
@@ -59,9 +59,10 @@ jobs:
run: gdlint scripts db scenes run: gdlint scripts db scenes
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# 3. Desktop exports (Windows / Linux / macOS) — runs in parallel. # 3. Desktop exports — runs in parallel.
# macOS preset must be added in the Godot editor before this matrix entry # macOS is commented out until a preset is added in the Godot editor
# can succeed (export_presets.cfg currently has none). # (export_presets.cfg has none today). Restore the entry once the preset
# exists; the matrix is otherwise ready to take it.
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
export-desktop: export-desktop:
name: Export ${{ matrix.platform }} name: Export ${{ matrix.platform }}
@@ -79,10 +80,10 @@ jobs:
preset: Linux/X11Debug preset: Linux/X11Debug
output: releases/linux/Puzzle-Quest.x86_64 output: releases/linux/Puzzle-Quest.x86_64
artifact_path: releases/linux artifact_path: releases/linux
- platform: macOS # - platform: macOS
preset: macOS # preset: macOS
output: releases/macos/Puzzle-Quest.zip # output: releases/macos/Puzzle-Quest.zip
artifact_path: releases/macos # artifact_path: releases/macos
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -157,7 +158,11 @@ jobs:
-keystore /tmp/debug.keystore -storepass android \ -keystore /tmp/debug.keystore -storepass android \
-dname "CN=Android Debug,O=Android,C=US" -validity 9999 -dname "CN=Android Debug,O=Android,C=US" -validity 9999
fi fi
# Godot rejects exports unless all three keystore/debug{,_user,_password}
# are set together (or all three empty) — patch every one.
sed -i 's@keystore/debug=".*"@keystore/debug="/tmp/debug.keystore"@g' export_presets.cfg sed -i 's@keystore/debug=".*"@keystore/debug="/tmp/debug.keystore"@g' export_presets.cfg
sed -i 's@keystore/debug_user=".*"@keystore/debug_user="androiddebugkey"@g' export_presets.cfg
sed -i 's@keystore/debug_password=".*"@keystore/debug_password="android"@g' export_presets.cfg
- name: Write Godot editor settings (Android SDK / JDK paths) - name: Write Godot editor settings (Android SDK / JDK paths)
run: | run: |
+2 -2
View File
@@ -230,7 +230,7 @@ codesign/timestamp_server_url=""
codesign/digest_algorithm=1 codesign/digest_algorithm=1
codesign/description="" codesign/description=""
codesign/custom_options=PoolStringArray( ) codesign/custom_options=PoolStringArray( )
application/icon="res://releases/windows/project.ico" application/icon=""
application/file_version="" application/file_version=""
application/product_version="" application/product_version=""
application/company_name="" application/company_name=""
@@ -296,7 +296,7 @@ codesign/timestamp_server_url=""
codesign/digest_algorithm=1 codesign/digest_algorithm=1
codesign/description="" codesign/description=""
codesign/custom_options=PoolStringArray( ) codesign/custom_options=PoolStringArray( )
application/icon="res://releases/windows/project.ico" application/icon=""
application/file_version="" application/file_version=""
application/product_version="" application/product_version=""
application/company_name="" application/company_name=""