diff --git a/Scenes/MainScene/main_scene.gd b/Scenes/MainScene/main_scene.gd index dcd4e68..0c8a328 100644 --- a/Scenes/MainScene/main_scene.gd +++ b/Scenes/MainScene/main_scene.gd @@ -156,6 +156,7 @@ func delete_profile(profile_name: String): # Squish profile container's size back down after deletion of panel await get_tree().process_frame + await get_tree().process_frame %ProfilesContainer.size.y = 0 func _exit_tree() -> void: diff --git a/Scenes/MainScene/profile_select.gd b/Scenes/MainScene/profile_select.gd index 5a6a63b..fb108fb 100644 --- a/Scenes/MainScene/profile_select.gd +++ b/Scenes/MainScene/profile_select.gd @@ -21,7 +21,7 @@ func _ready(): new_panel.get_node("%TrashButton").disabled = true if profiles_container.get_node("VBoxContainer").get_child_count() == 0: - %SelectedProfileText.text = "Default" + %SelectedProfileText.text = "[center]Default" add_profile_panel("Default") profiles_vbox.add_child(load("res://Scenes/NewProfile/new_profile_button.tscn").instantiate()) @@ -77,6 +77,8 @@ func hide_profiles_container(): func add_profile_panel(profile_name: String): var new_panel: ProfilePanel = profile_panel.instantiate() new_panel.get_node("%ProfileName").text = "[center]%s" % profile_name + if profile_name == "Default": + new_panel.get_node("%TrashButton").disabled = true profiles_vbox.add_child(new_panel) await get_tree().process_frame # Moves this above new profile button and separator diff --git a/Scenes/ProfilePanel/profile_panel.gd b/Scenes/ProfilePanel/profile_panel.gd index 9b5191e..2a90770 100644 --- a/Scenes/ProfilePanel/profile_panel.gd +++ b/Scenes/ProfilePanel/profile_panel.gd @@ -5,8 +5,8 @@ func _ready(): %DeleteProfileText.text = "[center]Are you sure you want to delete\n[b]%s?" % %ProfileName.text func delete_profile_panel(): - queue_free() $"/root/MainScene".delete_profile(%ProfileName.text.trim_prefix("[center]")) + queue_free() func _gui_input(event: InputEvent): if event is InputEventMouseButton and event.button_index == 1 and event.is_pressed(): diff --git a/export_presets.cfg b/export_presets.cfg index 2081804..db234cd 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -8,7 +8,7 @@ custom_features="" export_filter="all_resources" include_filter="" exclude_filter="" -export_path="D:/GodotEngine/CleanDoom Exports/CleanDoom.exe" +export_path="D:/GodotEngine/CleanDoom Exports/CleanDoom_v1.0.1_Windows/CleanDoom.exe" encryption_include_filters="" encryption_exclude_filters="" encrypt_pck=false @@ -60,3 +60,43 @@ 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.1] + +name="Linux/X11" +platform="Linux/X11" +runnable=true +dedicated_server=false +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="D:/GodotEngine/CleanDoom Exports/CleanDoom_v1.0.1_Linux/CleanDoom.x86_64" +encryption_include_filters="" +encryption_exclude_filters="" +encrypt_pck=false +encrypt_directory=false + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +debug/export_console_wrapper=1 +binary_format/embed_pck=false +texture_format/bptc=true +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +binary_format/architecture="x86_64" +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 +export DISPLAY=:0 +unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\" +\"{temp_dir}/{exe_name}\" {cmd_args}" +ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash +kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\") +rm -rf \"{temp_dir}\"" diff --git a/icon.svg b/icon.svg deleted file mode 100644 index b370ceb..0000000 --- a/icon.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/icon.svg.import b/icon.svg.import deleted file mode 100644 index d7a90c3..0000000 --- a/icon.svg.import +++ /dev/null @@ -1,37 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://j5qqamfo2pa5" -path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://icon.svg" -dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 -svg/scale=1.0 -editor/scale_with_editor_scale=false -editor/convert_colors_with_editor_theme=false