From 060dcfe91b33df3c70030bed0f8e73b81c2d7c2c Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 29 Jan 2022 20:04:14 +0100 Subject: [PATCH] Add osx support for the export all script, and added osx to the example export presets. --- export_all.sh | 4 ++ tools/export_presets.cfg.example | 85 ++++++++++++++++++++++++++++++-- 2 files changed, 84 insertions(+), 5 deletions(-) diff --git a/export_all.sh b/export_all.sh index 5d738973..621c6c94 100755 --- a/export_all.sh +++ b/export_all.sh @@ -22,6 +22,7 @@ mkdir export/broken_seals${version_snake_cased}_linux mkdir export/broken_seals${version_snake_cased}_windows mkdir export/broken_seals${version_snake_cased}_javascript mkdir export/broken_seals${version_snake_cased}_pi4 +mkdir export/broken_seals${version_snake_cased}_osx mkdir export/export_templates_bs${version_snake_cased} ./engine/bin/godot.x11.opt.tools.64 --path ./game/ --export-debug Android-Release ${project_root}/export/broken_seals${version_snake_cased}_android_release/broken_seals${version_snake_cased}.apk @@ -30,11 +31,13 @@ mkdir export/export_templates_bs${version_snake_cased} ./engine/bin/godot.x11.opt.tools.64 --path ./game/ --export "Windows Desktop" ${project_root}/export/broken_seals${version_snake_cased}_windows/broken_seals${version_snake_cased}.exe ./engine/bin/godot.x11.opt.tools.64 --path ./game/ --export HTML5 ${project_root}/export/broken_seals${version_snake_cased}_javascript/broken_seals.html ./engine/bin/godot.x11.opt.tools.64 --path ./game/ --export PI4/X11 ${project_root}/export/broken_seals${version_snake_cased}_pi4/broken_seals${version_snake_cased}_pi4 +./engine/bin/godot.x11.opt.tools.64 --path ./game/ --export "Mac OSX" ${project_root}/export/broken_seals${version_snake_cased}_osx/broken_seals${version_snake_cased}.app cp ./engine/bin/godot.windows.opt.tools.64.exe ${project_root}/export/godot.bs${version}.windows.opt.tools.64.exe cp ./engine/bin/godot.x11.opt.tools.64 ${project_root}/export/godot.bs${version}.x11.opt.tools.64 cp ./engine/bin/godot.x11.pi4.opt.tools.32 ${project_root}/export/godot.bs${version}.x11.pi4.opt.tools.32 cp ./engine/bin/godot.javascript.opt.tools.threads.zip ${project_root}/export/godot.bs${version}.javascript.opt.tools.zip +cp ./engine/bin/Godot.app.zip ${project_root}/export/godot.bs${version}.osx.opt.tools.zip cp ./engine/bin/android_debug.apk ${project_root}/export/export_templates_bs${version_snake_cased}/android_debug.apk cp ./engine/bin/android_release.apk ${project_root}/export/export_templates_bs${version_snake_cased}/android_release.apk @@ -46,3 +49,4 @@ cp ./engine/bin/godot.x11.opt.64 ${project_root}/export/export_templates_bs${ver cp ./engine/bin/godot.x11.opt.debug.64 ${project_root}/export/export_templates_bs${version_snake_cased}/godot.x11.opt.debug.64 cp ./engine/bin/godot.x11.pi4.opt.32 ${project_root}/export/export_templates_bs${version_snake_cased}/godot.x11.pi4.opt.32 cp ./engine/bin/godot.x11.pi4.opt.debug.32 ${project_root}/export/export_templates_bs${version_snake_cased}/godot.x11.pi4.opt.debug.32 +cp ./engine/bin/osx.zip ${project_root}/export/export_templates_bs${version_snake_cased}/osx.zip diff --git a/tools/export_presets.cfg.example b/tools/export_presets.cfg.example index c53f5791..c4837067 100644 --- a/tools/export_presets.cfg.example +++ b/tools/export_presets.cfg.example @@ -7,7 +7,7 @@ custom_features="" export_filter="all_resources" include_filter="*.xml" exclude_filter="" -export_path="../../_bs_export/0.3.1/android_debug/BrokenSeals.apk" +export_path="" script_export_mode=1 script_encryption_key="" @@ -207,7 +207,7 @@ custom_features="" export_filter="all_resources" include_filter="*.xml" exclude_filter="" -export_path="../../_bs_export/BrokenSeals.x86_64" +export_path="" script_export_mode=1 script_encryption_key="" @@ -232,7 +232,7 @@ custom_features="" export_filter="all_resources" include_filter="*.xml" exclude_filter="" -export_path="../../_bs_export/0.3.1/html/BrokenSeals.x86_64.html" +export_path="" script_export_mode=1 script_encryption_key="" @@ -257,7 +257,7 @@ custom_features="" export_filter="all_resources" include_filter="*.xml" exclude_filter="" -export_path="../../_bs_export/0.3.1/windows/BrokenSeals.x86_64.exe" +export_path="" script_export_mode=1 script_encryption_key="" @@ -498,7 +498,7 @@ custom_features="" export_filter="all_resources" include_filter="*.xml" exclude_filter="" -export_path="../aaa/BrokenSeals.x86_64.x86" +export_path="" script_export_mode=1 script_encryption_key="" @@ -513,3 +513,78 @@ texture_format/s3tc=true texture_format/etc=false texture_format/etc2=false texture_format/no_bptc_fallbacks=true + +[preset.6] + +name="Mac OSX" +platform="Mac OSX" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="*.xml" +exclude_filter="" +export_path="" +script_export_mode=1 +script_encryption_key="" + + +[preset.6.options] + +custom_template/debug="../engine/bin/osx.zip" +custom_template/release="../engine/bin/osx.zip" +application/name="Broken Seals" +application/info="Made with Godot Engine" +application/icon="" +application/identifier="net.relintai.brokenseals" +application/signature="" +application/app_category="Role-playing-games" +application/short_version="1.0" +application/version="1.0" +application/copyright="" +display/high_res=false +privacy/microphone_usage_description="" +privacy/camera_usage_description="" +privacy/location_usage_description="" +privacy/address_book_usage_description="" +privacy/calendar_usage_description="" +privacy/photos_library_usage_description="" +privacy/desktop_folder_usage_description="" +privacy/documents_folder_usage_description="" +privacy/downloads_folder_usage_description="" +privacy/network_volumes_usage_description="" +privacy/removable_volumes_usage_description="" +codesign/enable=true +codesign/identity="" +codesign/timestamp=true +codesign/hardened_runtime=true +codesign/replace_existing_signature=true +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/custom_options=PoolStringArray( ) +notarization/enable=false +notarization/apple_id_name="" +notarization/apple_id_password="" +notarization/apple_team_id="" +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false \ No newline at end of file