From 675e95b8f3854e14db615b705a41252f28940fe9 Mon Sep 17 00:00:00 2001 From: Maestro Date: Tue, 7 Jan 2025 00:49:02 +0200 Subject: [PATCH] 1 --- .github/workflows/github-actions.yml | 2 +- .github/workflows/scripts/prebuild.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index f8b67fb..e299b7d 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -19,7 +19,7 @@ jobs: - name: Build project run: | - bash .github/workflows/scripts/prebuild.sh + sudo bash .github/workflows/scripts/prebuild.sh /usr/local/bin/godot --headless --path . --export-release "Windows Desktop" game.exe zip astrolaser_x64_windows.zip game.exe game.pck diff --git a/.github/workflows/scripts/prebuild.sh b/.github/workflows/scripts/prebuild.sh index 4ac2d22..8017b6b 100644 --- a/.github/workflows/scripts/prebuild.sh +++ b/.github/workflows/scripts/prebuild.sh @@ -10,10 +10,11 @@ sudo apt update \ && apt install -y libfontconfig unzip \ && unzip ${GODOT_VERSION} -mv ${GODOT_VERSION} /usr/local/bin/godot && godot --version +mv ${GODOT_VERSION} /usr/local/bin/godot +chmod +x /usr/local/bin/godot && godot --version # Install godot templates wget https://github.com/godotengine/godot-builds/releases/download/4.2-stable/Godot_v4.2-stable_export_templates.tpz unzip Godot_v4.2-stable_export_templates.tpz mkdir -p ~/.local/share/godot/export_templates/4.2.stable/ -cp -r templates/* ~/.local/share/godot/export_templates/4.2.stable/ +cp -rv templates/* ~/.local/share/godot/export_templates/4.2.stable/