Skip to content

Commit 02a8c38

Browse files
committed
Remove exit button on web platform
1 parent 637bb0a commit 02a8c38

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

export_presets.cfg

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ architectures/armeabi-v7a=true
2626
architectures/arm64-v8a=true
2727
architectures/x86=false
2828
architectures/x86_64=false
29-
version/code=2
30-
version/name="0.3.1"
29+
version/code=3
30+
version/name="0.3.2"
3131
package/unique_name="dev.moepoi.frontierofhell"
3232
package/name="Frontier of Hell"
3333
package/signed=true
@@ -237,8 +237,8 @@ application/modify_resources=true
237237
application/icon="res://assets/icons/app-logo.png"
238238
application/console_wrapper_icon=""
239239
application/icon_interpolation=4
240-
application/file_version="0.0.3.1"
241-
application/product_version="0.0.3.1"
240+
application/file_version="0.0.3.2"
241+
application/product_version="0.0.3.2"
242242
application/company_name="Moepoi"
243243
application/product_name="Frontier of Hell"
244244
application/file_description="~"
@@ -272,7 +272,7 @@ custom_features=""
272272
export_filter="all_resources"
273273
include_filter=""
274274
exclude_filter=""
275-
export_path="build/web/Frontier-of-Hell.html"
275+
export_path="build/web/index.html"
276276
encryption_include_filters=""
277277
encryption_exclude_filters=""
278278
encrypt_pck=false

scripts/ui/main_menu.gd

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ func _ready():
1818
"unlocked_stage": 1
1919
})
2020

21+
if OS.get_name() == "Web":
22+
$TextureRect/Panel/MarginContainer/VBoxContainer/HBoxContainer/Exit.hide()
23+
2124
func _on_logo_pressed():
2225
if timer.is_stopped():
2326
timer.start()

0 commit comments

Comments
 (0)