diff options
author | Andres Villagra <89531860+KaiserOfNone@users.noreply.github.com> | 2023-02-27 16:57:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 16:57:19 +0100 |
commit | 150c11376765af5dc0c180de9cf7bbcc8fa9b99b (patch) | |
tree | 63514336c4c2e85d456b556ef0211f1ae259b6fc | |
parent | 44cd0ab1b8e6756f4fd90fed4e4e5558cb9554c4 (diff) |
Add MacOS template (#3)
Co-authored-by: Andres V <andres@avillagra.net>
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | game/export/osx/.gitignore | 2 | ||||
-rw-r--r-- | game/export_presets.cfg | 105 |
3 files changed, 111 insertions, 1 deletions
@@ -64,4 +64,7 @@ bin/* *.exp # Build configuarion. -/custom.py
\ No newline at end of file +/custom.py + +# MacOS stuff +.DS_Store diff --git a/game/export/osx/.gitignore b/game/export/osx/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/game/export/osx/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/game/export_presets.cfg b/game/export_presets.cfg index e90cd69..e4cf3b2 100644 --- a/game/export_presets.cfg +++ b/game/export_presets.cfg @@ -106,3 +106,108 @@ 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}'" + +[preset.2] + +name="macOS" +platform="macOS" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="export/MacOS/OpenVic2.dmg" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false +script_encryption_key="" + +[preset.2.options] + +binary_format/architecture="universal" +custom_template/debug="" +custom_template/release="" +debug/export_console_script=1 +application/icon="" +application/icon_interpolation=4 +application/bundle_identifier="com.openvic2.openvic2" +application/signature="" +application/app_category="Games" +application/short_version="0.1" +application/version="0.1" +application/copyright="" +application/copyright_localized={} +display/high_res=false +codesign/codesign=0 +codesign/identity="" +codesign/certificate_file="" +codesign/certificate_password="" +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/helper_executables=[] +codesign/custom_options=PackedStringArray() +notarization/notarization=0 +notarization/apple_id_name="" +notarization/apple_id_password="" +notarization/apple_team_id="" +notarization/api_uuid="" +notarization/api_key="" +notarization/api_key_id="" +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={} +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +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 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +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}.app/Contents/MacOS/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" |