aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-12-26 22:09:00 +0100
committer Spartan322 <Megacake1234@gmail.com>2023-12-27 03:02:59 +0100
commitc1ebca66136f4bcb96f01a0e4407ee7442a22b01 (patch)
treec72c6e6e4bbab73f25a44b3cb10065bd98be297d
parentd114ecaa5a54f1e8e20828561a3cd26a09dc10a3 (diff)
Add macOS Ad-hoc Codesigning to workflowworkflow-codesign
-rw-r--r--.github/workflows/builds.yml6
-rw-r--r--game/export_presets.cfg43
2 files changed, 29 insertions, 20 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 74c78c4..a76dd21 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -114,6 +114,12 @@ jobs:
if: ${{ matrix.platform == 'windows' }}
run: |
Remove-Item game/bin/openvic/* -Include *.exp,*.lib,*.pdb -Force
+
+ - name: Sign Binary
+ if: ${{ matrix.platform == 'macos' }}
+ uses: OpenVicProject/apple-code-sign-action@main
+ with:
+ input_path: ${{ github.workspace }}/game/bin/openvic/*
- name: Upload extension artifact
uses: actions/upload-artifact@v3
diff --git a/game/export_presets.cfg b/game/export_presets.cfg
index 8c90602..873ad02 100644
--- a/game/export_presets.cfg
+++ b/game/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
@@ -38,6 +37,7 @@ unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
rm -rf \"{temp_dir}\""
+debug/export_console_script=1
[preset.1]
@@ -54,13 +54,12 @@ 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/s3tc=true
@@ -68,9 +67,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
@@ -87,6 +83,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"
@@ -104,6 +101,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.2]
@@ -120,14 +118,14 @@ 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
+debug/export_console_wrapper=1
application/icon=""
application/icon_interpolation=4
application/bundle_identifier="com.openvic.openvic"
@@ -137,16 +135,24 @@ application/short_version="0.1"
application/version="0.1"
application/copyright=""
application/copyright_localized={}
+application/min_macos_version="10.12"
+application/export_angle=0
display/high_res=false
-codesign/codesign=0
+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=""
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/disable_library_validation=true
codesign/entitlements/audio_input=false
codesign/entitlements/camera=false
codesign/entitlements/location=false
@@ -154,7 +160,7 @@ 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/debugging=true
codesign/entitlements/app_sandbox/enabled=false
codesign/entitlements/app_sandbox/network_server=false
codesign/entitlements/app_sandbox/network_client=false
@@ -164,15 +170,10 @@ 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
-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=""
@@ -206,3 +207,5 @@ 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}\""
+debug/export_console_script=1
+notarization/apple_team_id=""