summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2023-12-25 20:43:44 +0100
committerDaniel Weipert <git@mail.dweipert.de>2023-12-25 20:43:44 +0100
commit809024f80576c191fd1154e4d7950fbedb05baff (patch)
tree9adc9c66f4a7ea8c52f078d1b2f465162a329fa5
parentc1f30a2905d7a44439c2c0797ddd87b58f79d724 (diff)
[itch.io] fix
-rwxr-xr-x[-rw-r--r--]bin/itch.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/bin/itch.sh b/bin/itch.sh
index 9388e24..8ab5279 100644..100755
--- a/bin/itch.sh
+++ b/bin/itch.sh
@@ -2,12 +2,16 @@
VERSION=$(git describe --tags --abbrev=0)
-godot --headless --export-release "Linux/X11" "exports/TicTacTux"
-godot --headless --export-release "macOS" "exports/TicTacTux.zip"
-godot --headless --export-release "Windows Desktop" "exports/TicTacTux.exe"
+godot --headless --rendering-driver opengl3 --export-release "Linux/X11" "exports/TicTacTux"
+godot --headless --rendering-driver opengl3 --export-release "macOS" "exports/TicTacTux.zip"
+godot --headless --rendering-driver opengl3 --export-release "Windows Desktop" "exports/TicTacTux.exe"
+
cd exports
zip TicTacTux-linux.zip TicTacTux TicTacTux.pck
+mv TicTacTux.zip TicTacTux-osx.zip
zip TicTacTux-win.zip TicTacTux.exe TicTacTux.pck
-butler push TicTacTux-linux.zip dweipert/tictactux:linux --userversion="$VERSION"
-butler push TicTacTux.zip dweipert/tictactux:osx --userversion="$VERSION"
-butler push TicTacTux-win.zip dweipert/tictactux:win --userversion="$VERSION"
+cd ..
+
+butler push exports/TicTacTux-linux.zip dweipert/tictactux:linux --userversion="$VERSION"
+butler push exports/TicTacTux-osx.zip dweipert/tictactux:osx --userversion="$VERSION"
+butler push exports/TicTacTux-win.zip dweipert/tictactux:win --userversion="$VERSION"