summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml28
-rw-r--r--bin/itch.sh13
-rw-r--r--export_presets.cfg150
3 files changed, 98 insertions, 93 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index b97dac5..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-image: ioribranford/godot-docker:latest
-# @see https://gitlab.com/HarvHouHacker/SuperTuxParty/-/blob/dev/.gitlab-ci.yml
-# @see https://gitlab.com/HarvHouHacker/SuperTuxParty/-/blob/dev/release.sh
-
-release:
- only:
- - tags
-
- before_script:
- - mkdir exports
- - mkdir .ci-bin && cd .ci-bin
- - wget -O butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
- - unzip butler.zip
- - chmod +x butler
- - cd ..
- - export PATH=$(realpath .ci-bin):$PATH
-
- script:
- - godot --export "Linux/X11" "exports/TicTacTux"
- - godot --export "Mac OSX" "exports/TicTacTux.zip"
- - godot --export "Windows Desktop" "exports/TicTacTux.exe"
- - cd exports
- - zip TicTacTux-linux.zip TicTacTux TicTacTux.pck
- - zip TicTacTux-win.zip TicTacTux.exe TicTacTux.pck
- - butler push TicTacTux-linux.zip drogueronin/tictactux:linux --userversion="$CI_COMMIT_REF_NAME"
- - butler push TicTacTux.zip drogueronin/tictactux:osx --userversion="$CI_COMMIT_REF_NAME"
- - butler push TicTacTux-win.zip drogueronin/tictactux:win --userversion="$CI_COMMIT_REF_NAME"
-
diff --git a/bin/itch.sh b/bin/itch.sh
new file mode 100644
index 0000000..9388e24
--- /dev/null
+++ b/bin/itch.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+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"
+cd exports
+zip TicTacTux-linux.zip TicTacTux TicTacTux.pck
+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"
diff --git a/export_presets.cfg b/export_presets.cfg
index 045862e..12987dc 100644
--- a/export_presets.cfg
+++ b/export_presets.cfg
@@ -13,13 +13,12 @@ encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
-script_encryption_key=""
[preset.0.options]
custom_template/debug=""
custom_template/release=""
-debug/export_console_script=1
+debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/bptc=false
texture_format/s3tc=true
@@ -27,9 +26,6 @@ texture_format/etc=false
texture_format/etc2=false
binary_format/architecture="x86_64"
codesign/enable=false
-codesign/identity_type=0
-codesign/identity=""
-codesign/password=""
codesign/timestamp=true
codesign/timestamp_server_url=""
codesign/digest_algorithm=1
@@ -46,6 +42,7 @@ application/product_name=""
application/file_description=""
application/copyright=""
application/trademarks=""
+application/export_angle=0
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
@@ -63,6 +60,7 @@ Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorActi
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
Remove-Item -Recurse -Force '{temp_dir}'"
+debug/export_console_script=1
[preset.1]
@@ -74,20 +72,19 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
-export_path="exports/TicTacTux.x86_64"
+export_path="exports/TicTacTux"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
-script_encryption_key=""
[preset.1.options]
custom_template/debug=""
custom_template/release=""
-debug/export_console_script=1
+debug/export_console_wrapper=1
binary_format/embed_pck=false
-texture_format/bptc=false
+texture_format/bptc=true
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
@@ -107,82 +104,105 @@ rm -rf \"{temp_dir}\""
[preset.2]
-name="Linux/X11 (copy)"
-platform="Linux/X11"
-runnable=false
+name="macOS"
+platform="macOS"
+runnable=true
dedicated_server=false
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
-export_path=""
+export_path="exports/TicTacTux.zip"
encryption_include_filters=""
encryption_exclude_filters=""
encrypt_pck=false
encrypt_directory=false
-script_encryption_key=""
[preset.2.options]
+export/distribution_type=1
+binary_format/architecture="universal"
custom_template/debug=""
custom_template/release=""
-debug/export_console_script=1
-binary_format/embed_pck=false
-texture_format/bptc=false
-texture_format/s3tc=true
-texture_format/etc=false
-texture_format/etc2=false
-binary_format/architecture="x86_64"
-ssh_remote_deploy/enabled=false
-ssh_remote_deploy/host="user@host_ip"
-ssh_remote_deploy/port="22"
-ssh_remote_deploy/extra_args_ssh=""
-ssh_remote_deploy/extra_args_scp=""
-ssh_remote_deploy/run_script="#!/usr/bin/env bash
-export DISPLAY=:0
-unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
-\"{temp_dir}/{exe_name}\" {cmd_args}"
-ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
-kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
-rm -rf \"{temp_dir}\""
-
-[preset.3]
-
-name="Linux/X11 2"
-platform="Linux/X11"
-runnable=false
-dedicated_server=false
-custom_features=""
-export_filter="all_resources"
-include_filter=""
-exclude_filter=""
-export_path=""
-encryption_include_filters=""
-encryption_exclude_filters=""
-encrypt_pck=false
-encrypt_directory=false
-script_encryption_key=""
-
-[preset.3.options]
-
-custom_template/debug=""
-custom_template/release=""
-debug/export_console_script=1
-binary_format/embed_pck=false
-texture_format/bptc=true
-texture_format/s3tc=true
-texture_format/etc=false
-texture_format/etc2=false
-binary_format/architecture="x86_64"
+debug/export_console_wrapper=1
+application/icon=""
+application/icon_interpolation=4
+application/bundle_identifier="de.dweipert.games.tictactux"
+application/signature=""
+application/app_category="Games"
+application/short_version=""
+application/version=""
+application/copyright=""
+application/copyright_localized={}
+application/min_macos_version="10.12"
+application/export_angle=0
+display/high_res=true
+xcode/platform_build="14C18"
+xcode/sdk_version="13.1"
+xcode/sdk_build="22C55"
+xcode/sdk_name="macosx13.1"
+xcode/xcode_version="1420"
+xcode/xcode_build="14C18"
+codesign/codesign=1
+codesign/installer_identity=""
+codesign/apple_team_id="de.dweipert.games"
+codesign/identity=""
+codesign/entitlements/custom_file=""
+codesign/entitlements/allow_jit_code_execution=false
+codesign/entitlements/allow_unsigned_executable_memory=false
+codesign/entitlements/allow_dyld_environment_variables=false
+codesign/entitlements/disable_library_validation=false
+codesign/entitlements/audio_input=false
+codesign/entitlements/camera=false
+codesign/entitlements/location=false
+codesign/entitlements/address_book=false
+codesign/entitlements/calendars=false
+codesign/entitlements/photos_library=false
+codesign/entitlements/apple_events=false
+codesign/entitlements/debugging=false
+codesign/entitlements/app_sandbox/enabled=false
+codesign/entitlements/app_sandbox/network_server=false
+codesign/entitlements/app_sandbox/network_client=false
+codesign/entitlements/app_sandbox/device_usb=false
+codesign/entitlements/app_sandbox/device_bluetooth=false
+codesign/entitlements/app_sandbox/files_downloads=0
+codesign/entitlements/app_sandbox/files_pictures=0
+codesign/entitlements/app_sandbox/files_music=0
+codesign/entitlements/app_sandbox/files_movies=0
+codesign/entitlements/app_sandbox/files_user_selected=0
+codesign/entitlements/app_sandbox/helper_executables=[]
+codesign/custom_options=PackedStringArray()
+notarization/notarization=0
+privacy/microphone_usage_description=""
+privacy/microphone_usage_description_localized={}
+privacy/camera_usage_description=""
+privacy/camera_usage_description_localized={}
+privacy/location_usage_description=""
+privacy/location_usage_description_localized={}
+privacy/address_book_usage_description=""
+privacy/address_book_usage_description_localized={}
+privacy/calendar_usage_description=""
+privacy/calendar_usage_description_localized={}
+privacy/photos_library_usage_description=""
+privacy/photos_library_usage_description_localized={}
+privacy/desktop_folder_usage_description=""
+privacy/desktop_folder_usage_description_localized={}
+privacy/documents_folder_usage_description=""
+privacy/documents_folder_usage_description_localized={}
+privacy/downloads_folder_usage_description=""
+privacy/downloads_folder_usage_description_localized={}
+privacy/network_volumes_usage_description=""
+privacy/network_volumes_usage_description_localized={}
+privacy/removable_volumes_usage_description=""
+privacy/removable_volumes_usage_description_localized={}
ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22"
ssh_remote_deploy/extra_args_ssh=""
ssh_remote_deploy/extra_args_scp=""
ssh_remote_deploy/run_script="#!/usr/bin/env bash
-export DISPLAY=:0
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
-\"{temp_dir}/{exe_name}\" {cmd_args}"
+open \"{temp_dir}/{exe_name}.app\" --args {cmd_args}"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
-kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
+kill $(pgrep -x -f \"{temp_dir}/{exe_name}.app/Contents/MacOS/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""