4.2, window and build changes

This commit is contained in:
Nordup 2024-02-05 02:21:35 +04:00
parent ab5628556b
commit 431780d514
5 changed files with 13 additions and 12 deletions

View file

@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../../AppBuilds/TheGates.x86_64" export_path="../../AppBuilds/Linux/TheGates.x86_64"
encryption_include_filters="" encryption_include_filters=""
encryption_exclude_filters="" encryption_exclude_filters=""
encrypt_pck=false encrypt_pck=false
@ -17,7 +17,7 @@ encrypt_directory=false
[preset.0.options] [preset.0.options]
custom_template/debug="" custom_template/debug=""
custom_template/release="/home/nordup/projects/godot/the-gates-folder/the-gates/bin/godot.linuxbsd.template_release.x86_64" custom_template/release="/media/common/Projects/thegates-folder/thegates/bin/godot.linuxbsd.template_release.x86_64"
debug/export_console_wrapper=1 debug/export_console_wrapper=1
binary_format/embed_pck=true binary_format/embed_pck=true
texture_format/bptc=false texture_format/bptc=false
@ -49,7 +49,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../../Builds/TheGates.exe" export_path="../../AppBuilds/Windows/TheGates.exe"
encryption_include_filters="" encryption_include_filters=""
encryption_exclude_filters="" encryption_exclude_filters=""
encrypt_pck=false encrypt_pck=false
@ -58,7 +58,7 @@ encrypt_directory=false
[preset.1.options] [preset.1.options]
custom_template/debug="" custom_template/debug=""
custom_template/release="C:/Users/Nordup/Documents/GodotProjects/the-gates/bin/godot.windows.template_release.x86_64.exe" custom_template/release="D:/Projects/thegates-folder/thegates/bin/godot.windows.template_release.x86_64.exe"
debug/export_console_wrapper=1 debug/export_console_wrapper=1
binary_format/embed_pck=false binary_format/embed_pck=false
texture_format/bptc=false texture_format/bptc=false
@ -77,12 +77,13 @@ application/icon="res://app_icon/icon.ico"
application/console_wrapper_icon="res://app_icon/icon.ico" application/console_wrapper_icon="res://app_icon/icon.ico"
application/icon_interpolation=4 application/icon_interpolation=4
application/file_version="" application/file_version=""
application/product_version="0.5.2.0" application/product_version="0.7.0.0"
application/company_name="TheGates" application/company_name="TheGates"
application/product_name="TheGates" application/product_name="TheGates"
application/file_description="TheGates - Building new Internet" application/file_description="TheGates - Building new Internet"
application/copyright="" application/copyright=""
application/trademarks="" application/trademarks=""
application/export_angle=0
ssh_remote_deploy/enabled=false ssh_remote_deploy/enabled=false
ssh_remote_deploy/host="user@host_ip" ssh_remote_deploy/host="user@host_ip"
ssh_remote_deploy/port="22" ssh_remote_deploy/port="22"
@ -135,6 +136,7 @@ application/version="1.0"
application/copyright="" application/copyright=""
application/copyright_localized={} application/copyright_localized={}
application/min_macos_version="10.12" application/min_macos_version="10.12"
application/export_angle=0
display/high_res=false display/high_res=false
xcode/platform_build="14C18" xcode/platform_build="14C18"
xcode/sdk_version="13.1" xcode/sdk_version="13.1"
@ -168,6 +170,7 @@ codesign/entitlements/app_sandbox/files_downloads=0
codesign/entitlements/app_sandbox/files_pictures=0 codesign/entitlements/app_sandbox/files_pictures=0
codesign/entitlements/app_sandbox/files_music=0 codesign/entitlements/app_sandbox/files_music=0
codesign/entitlements/app_sandbox/files_movies=0 codesign/entitlements/app_sandbox/files_movies=0
codesign/entitlements/app_sandbox/files_user_selected=0
codesign/entitlements/app_sandbox/helper_executables=[] codesign/entitlements/app_sandbox/helper_executables=[]
codesign/custom_options=PackedStringArray() codesign/custom_options=PackedStringArray()
notarization/notarization=0 notarization/notarization=0

View file

@ -14,8 +14,7 @@ config/name="TheGates"
config/description="Building new Internet" config/description="Building new Internet"
config/tags=PackedStringArray("thegates") config/tags=PackedStringArray("thegates")
run/main_scene="res://scenes/app.tscn" run/main_scene="res://scenes/app.tscn"
config/features=PackedStringArray("4.1") config/features=PackedStringArray("4.2")
run/max_fps=60
boot_splash/bg_color=Color(0.156863, 0.156863, 0.156863, 1) boot_splash/bg_color=Color(0.156863, 0.156863, 0.156863, 1)
boot_splash/show_image=false boot_splash/show_image=false
config/icon="res://app_icon/icon_64.png" config/icon="res://app_icon/icon_64.png"
@ -37,8 +36,7 @@ gdscript/warnings/integer_division=0
window/size/viewport_width=1920 window/size/viewport_width=1920
window/size/viewport_height=1080 window/size/viewport_height=1080
window/size/mode=2 window/size/mode=4
window/size/resizable=false
window/size/borderless=true window/size/borderless=true
window/stretch/mode="canvas_items" window/stretch/mode="canvas_items"
window/stretch/aspect="expand" window/stretch/aspect="expand"
@ -68,6 +66,5 @@ pointing/emulate_touch_from_mouse=true
[rendering] [rendering]
textures/canvas_textures/default_texture_filter=2 textures/canvas_textures/default_texture_filter=2
driver/threads/thread_model=2
textures/default_filters/anisotropic_filtering_level=1 textures/default_filters/anisotropic_filtering_level=1
anti_aliasing/quality/use_taa=true anti_aliasing/quality/use_taa=true

View file

@ -7,18 +7,19 @@ static func remove_recursive(path: String) -> void:
var dir = DirAccess.open(path) var dir = DirAccess.open(path)
if dir: if dir:
# List directory content # List directory content
var err : Error
dir.list_dir_begin() dir.list_dir_begin()
var file_name = dir.get_next() var file_name = dir.get_next()
while file_name != "": while file_name != "":
if dir.current_is_dir(): if dir.current_is_dir():
remove_recursive(path + "/" + file_name) remove_recursive(path + "/" + file_name)
else: else:
var err = dir.remove(file_name) err = dir.remove(file_name)
if err != OK: Debug.logerr("Error removing: " + path + "/" + file_name) if err != OK: Debug.logerr("Error removing: " + path + "/" + file_name)
file_name = dir.get_next() file_name = dir.get_next()
# Remove current path # Remove current path
var err = dir.remove(path) err = dir.remove(path)
if err != OK: Debug.logerr("Error removing: " + path) if err != OK: Debug.logerr("Error removing: " + path)
else: else:
Debug.logerr("Error removing " + path) Debug.logerr("Error removing " + path)