Skip to content

Commit 5af9a52

Browse files
authored
Merge pull request #13 from SpectrumPro/Husky-Devel-patch-2
Update godot-export.yml
2 parents 4e8a65d + d9266b9 commit 5af9a52

File tree

2 files changed

+189
-22
lines changed

2 files changed

+189
-22
lines changed

.github/workflows/godot-export.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Whenever a tag push matching pattern "v*" then run the job
22
on:
33
push:
4-
tags:
5-
- "v*"
4+
65

76
jobs:
87
# job id, can be anything
@@ -39,3 +38,4 @@ jobs:
3938
generateReleaseNotes: true
4039
tag: ${{ github.ref_name }}
4140
artifacts: ${{ steps.export.outputs.archive_directory }}/*
41+

export_presets.cfg

Lines changed: 187 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[preset.0]
22

3-
name="Web"
4-
platform="Web"
3+
name="Windows"
4+
platform="Windows Desktop"
55
runnable=true
66
dedicated_server=false
77
custom_features=""
88
export_filter="all_resources"
99
include_filter=""
1010
exclude_filter=""
11-
export_path="Export/main.html"
11+
export_path="./Spectrum.exe"
1212
encryption_include_filters=""
1313
encryption_exclude_filters=""
1414
encrypt_pck=false
@@ -18,20 +18,187 @@ encrypt_directory=false
1818

1919
custom_template/debug=""
2020
custom_template/release=""
21-
variant/extensions_support=false
22-
vram_texture_compression/for_desktop=true
23-
vram_texture_compression/for_mobile=false
24-
html/export_icon=true
25-
html/custom_html_shell=""
26-
html/head_include=""
27-
html/canvas_resize_policy=2
28-
html/focus_canvas_on_start=true
29-
html/experimental_virtual_keyboard=false
30-
progressive_web_app/enabled=false
31-
progressive_web_app/offline_page=""
32-
progressive_web_app/display=1
33-
progressive_web_app/orientation=0
34-
progressive_web_app/icon_144x144=""
35-
progressive_web_app/icon_180x180=""
36-
progressive_web_app/icon_512x512=""
37-
progressive_web_app/background_color=Color(0, 0, 0, 1)
21+
debug/export_console_wrapper=1
22+
binary_format/embed_pck=false
23+
texture_format/bptc=true
24+
texture_format/s3tc=true
25+
texture_format/etc=false
26+
texture_format/etc2=false
27+
binary_format/architecture="x86_64"
28+
codesign/enable=false
29+
codesign/timestamp=true
30+
codesign/timestamp_server_url=""
31+
codesign/digest_algorithm=1
32+
codesign/description=""
33+
codesign/custom_options=PackedStringArray()
34+
application/modify_resources=true
35+
application/icon="res://icon.png"
36+
application/console_wrapper_icon="res://icon.png"
37+
application/icon_interpolation=4
38+
application/file_version="0.0.1.4"
39+
application/product_version="0.0.1.4"
40+
application/company_name="Liam Sherwin"
41+
application/product_name="Spectrum"
42+
application/file_description=""
43+
application/copyright=""
44+
application/trademarks=""
45+
ssh_remote_deploy/enabled=false
46+
ssh_remote_deploy/host="user@host_ip"
47+
ssh_remote_deploy/port="22"
48+
ssh_remote_deploy/extra_args_ssh=""
49+
ssh_remote_deploy/extra_args_scp=""
50+
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
51+
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
52+
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
53+
$settings = New-ScheduledTaskSettingsSet
54+
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
55+
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
56+
Start-ScheduledTask -TaskName godot_remote_debug
57+
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
58+
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
59+
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
60+
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
61+
Remove-Item -Recurse -Force '{temp_dir}'"
62+
63+
[preset.1]
64+
65+
name="Linux/X11"
66+
platform="Linux/X11"
67+
runnable=true
68+
dedicated_server=false
69+
custom_features=""
70+
export_filter="all_resources"
71+
include_filter=""
72+
exclude_filter=""
73+
export_path="./Spectrum.x86_64"
74+
encryption_include_filters=""
75+
encryption_exclude_filters=""
76+
encrypt_pck=false
77+
encrypt_directory=false
78+
79+
[preset.1.options]
80+
81+
custom_template/debug=""
82+
custom_template/release=""
83+
debug/export_console_wrapper=1
84+
binary_format/embed_pck=true
85+
texture_format/bptc=true
86+
texture_format/s3tc=true
87+
texture_format/etc=false
88+
texture_format/etc2=false
89+
binary_format/architecture="x86_64"
90+
ssh_remote_deploy/enabled=false
91+
ssh_remote_deploy/host="user@host_ip"
92+
ssh_remote_deploy/port="22"
93+
ssh_remote_deploy/extra_args_ssh=""
94+
ssh_remote_deploy/extra_args_scp=""
95+
ssh_remote_deploy/run_script="#!/usr/bin/env bash
96+
export DISPLAY=:0
97+
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
98+
\"{temp_dir}/{exe_name}\" {cmd_args}"
99+
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
100+
kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
101+
rm -rf \"{temp_dir}\""
102+
103+
[preset.2]
104+
105+
name="macOS"
106+
platform="macOS"
107+
runnable=true
108+
dedicated_server=false
109+
custom_features=""
110+
export_filter="all_resources"
111+
include_filter=""
112+
exclude_filter=""
113+
export_path="./Spectrum_mac.zip"
114+
encryption_include_filters=""
115+
encryption_exclude_filters=""
116+
encrypt_pck=false
117+
encrypt_directory=false
118+
119+
[preset.2.options]
120+
121+
export/distribution_type=1
122+
binary_format/architecture="universal"
123+
custom_template/debug=""
124+
custom_template/release=""
125+
debug/export_console_wrapper=1
126+
application/icon="res://icon.png"
127+
application/icon_interpolation=4
128+
application/bundle_identifier="tech.liamsherwin.spectrum"
129+
application/signature=""
130+
application/app_category="Games"
131+
application/short_version="0.1.4"
132+
application/version="0.1.4"
133+
application/copyright=""
134+
application/copyright_localized={}
135+
application/min_macos_version="10.12"
136+
display/high_res=true
137+
xcode/platform_build="14C18"
138+
xcode/sdk_version="13.1"
139+
xcode/sdk_build="22C55"
140+
xcode/sdk_name="macosx13.1"
141+
xcode/xcode_version="1420"
142+
xcode/xcode_build="14C18"
143+
codesign/codesign=1
144+
codesign/installer_identity=""
145+
codesign/apple_team_id=""
146+
codesign/identity=""
147+
codesign/entitlements/custom_file=""
148+
codesign/entitlements/allow_jit_code_execution=false
149+
codesign/entitlements/allow_unsigned_executable_memory=false
150+
codesign/entitlements/allow_dyld_environment_variables=false
151+
codesign/entitlements/disable_library_validation=false
152+
codesign/entitlements/audio_input=false
153+
codesign/entitlements/camera=false
154+
codesign/entitlements/location=false
155+
codesign/entitlements/address_book=false
156+
codesign/entitlements/calendars=false
157+
codesign/entitlements/photos_library=false
158+
codesign/entitlements/apple_events=false
159+
codesign/entitlements/debugging=false
160+
codesign/entitlements/app_sandbox/enabled=false
161+
codesign/entitlements/app_sandbox/network_server=false
162+
codesign/entitlements/app_sandbox/network_client=false
163+
codesign/entitlements/app_sandbox/device_usb=false
164+
codesign/entitlements/app_sandbox/device_bluetooth=false
165+
codesign/entitlements/app_sandbox/files_downloads=0
166+
codesign/entitlements/app_sandbox/files_pictures=0
167+
codesign/entitlements/app_sandbox/files_music=0
168+
codesign/entitlements/app_sandbox/files_movies=0
169+
codesign/entitlements/app_sandbox/helper_executables=[]
170+
codesign/custom_options=PackedStringArray()
171+
notarization/notarization=0
172+
privacy/microphone_usage_description=""
173+
privacy/microphone_usage_description_localized={}
174+
privacy/camera_usage_description=""
175+
privacy/camera_usage_description_localized={}
176+
privacy/location_usage_description=""
177+
privacy/location_usage_description_localized={}
178+
privacy/address_book_usage_description=""
179+
privacy/address_book_usage_description_localized={}
180+
privacy/calendar_usage_description=""
181+
privacy/calendar_usage_description_localized={}
182+
privacy/photos_library_usage_description=""
183+
privacy/photos_library_usage_description_localized={}
184+
privacy/desktop_folder_usage_description=""
185+
privacy/desktop_folder_usage_description_localized={}
186+
privacy/documents_folder_usage_description=""
187+
privacy/documents_folder_usage_description_localized={}
188+
privacy/downloads_folder_usage_description=""
189+
privacy/downloads_folder_usage_description_localized={}
190+
privacy/network_volumes_usage_description=""
191+
privacy/network_volumes_usage_description_localized={}
192+
privacy/removable_volumes_usage_description=""
193+
privacy/removable_volumes_usage_description_localized={}
194+
ssh_remote_deploy/enabled=false
195+
ssh_remote_deploy/host="user@host_ip"
196+
ssh_remote_deploy/port="22"
197+
ssh_remote_deploy/extra_args_ssh=""
198+
ssh_remote_deploy/extra_args_scp=""
199+
ssh_remote_deploy/run_script="#!/usr/bin/env bash
200+
unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
201+
open \"{temp_dir}/{exe_name}.app\" --args {cmd_args}"
202+
ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
203+
kill $(pgrep -x -f \"{temp_dir}/{exe_name}.app/Contents/MacOS/{exe_name} {cmd_args}\")
204+
rm -rf \"{temp_dir}\""

0 commit comments

Comments
 (0)