Skip to content

Commit

Permalink
Исправления ошибок и релиз
Browse files Browse the repository at this point in the history
  • Loading branch information
Summersay415 committed Nov 24, 2024
1 parent 1a466a7 commit 7d90196
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 8 deletions.
42 changes: 42 additions & 0 deletions docs/custom.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
module_text_server_adv_enabled = "no"
module_text_server_fb_enabled = "yes"
disable_3d = "yes"
module_basis_universal_enabled = "no"
module_betsy_enabled = "no"
module_bmp_enabled = "no"
module_camera_enabled = "no"
module_csg_enabled = "no"
module_dds_enabled = "no"
module_fbx_enabled = "no"
module_gltf_enabled = "no"
module_godot_physics_2d_enabled = "no"
module_godot_physics_3d_enabled = "no"
module_gridmap_enabled = "no"
module_hdr_enabled = "no"
module_interactive_music_enabled = "no"
module_jpg_enabled = "no"
module_jsonrpc_enabled = "no"
module_ktx_enabled = "no"
module_multiplayer_enabled = "no"
module_enet_enabled = "no"
module_meshoptimizer_enabled = "no"
module_msdfgen_enabled = "no"
module_mobile_vr_enabled = "no"
module_minimp3_enabled = "no"
module_openxr_enabled = "no"
module_raycast_enabled = "no"
module_svg_enabled = "no"
module_tga_enabled = "no"
module_theora_enabled = "no"
module_tinyexr_enabled = "no"
module_vhacd_enabled = "no"
module_webrtc_enabled = "no"
module_websocket_enabled = "no"
module_webxr_enabled = "no"
module_vorbis_enabled = "yes"
production = "yes"
deprecated = "no"
vulkan = "no"
d3d12 = "no"
use_volk = "no"
optimize = "size"
8 changes: 4 additions & 4 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter="*.md, *.ico"
export_path=""
export_path="../../../../../media/ADATA HDD330/Проекты/Circle Shot/Launcher/circle_shot_launcher_v1.0.0-linux.x86_64"
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""
Expand All @@ -20,7 +20,7 @@ script_export_mode=2
[preset.0.options]

custom_template/debug=""
custom_template/release=""
custom_template/release="/home/summersay415/Godot/Engine/editor_data/export_templates/4.4.dev4/linux_release_launcher.x86_64"
debug/export_console_wrapper=1
binary_format/embed_pck=true
texture_format/s3tc_bptc=true
Expand Down Expand Up @@ -50,7 +50,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter="*.md"
export_path=""
export_path="../../../../../media/ADATA HDD330/Проекты/Circle Shot/Launcher/circle_shot_launcher_v1.0.0-windows.x86_64.exe"
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""
Expand All @@ -61,7 +61,7 @@ script_export_mode=2
[preset.1.options]

custom_template/debug=""
custom_template/release=""
custom_template/release="/home/summersay415/Godot/Engine/editor_data/export_templates/4.4.dev4/windows_release_launcher_x86_64.exe"
debug/export_console_wrapper=1
binary_format/embed_pck=false
texture_format/s3tc_bptc=true
Expand Down
5 changes: 3 additions & 2 deletions launcher/launcher.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ var _version_scene: PackedScene = preload("uid://cw77pm0u17yb6")


func _ready() -> void:
get_window().min_size = Vector2i(740, 600)

if FileAccess.file_exists(OS.get_executable_path().get_base_dir().path_join("_sc_")) \
or FileAccess.file_exists(OS.get_executable_path().get_base_dir().path_join("._sc_")):
#data_path = OS.get_executable_path().path_join("data")
data_path = "/tmp/data"
data_path = OS.get_executable_path().get_base_dir().path_join("data")
else:
data_path = OS.get_user_data_dir()
DirAccess.make_dir_recursive_absolute(data_path)
Expand Down
2 changes: 2 additions & 0 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ theme/custom="res://theme/theme.tres"

[physics]

2d/physics_engine="Dummy"
3d/physics_engine="Dummy"
common/enable_object_picking=false

[rendering]
Expand Down
5 changes: 3 additions & 2 deletions remote_manager/remote_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,13 @@ func list_remote_versions() -> void:
highest_installed_version
])
if not update_showed and highest_version > highest_installed_version \
and _launcher.settings_file.get_value("settings", "updates"):
update_showed = true
and _launcher.settings_file.get_value("settings", "updates") \
and highest_installed_version >= 0:
var version_code: String = str(highest_version)
var engine_version: String = remote_versions.get_value(version_code, "engine_version")
var beta: bool = remote_versions.get_value(version_code, "beta")
_launcher.show_update(version_code, engine_version, beta)
update_showed = true


func _clear_versions() -> void:
Expand Down

0 comments on commit 7d90196

Please sign in to comment.