Update check: version feed from the git server's releases, title-screen banner, clearer version refusals
This commit is contained in:
@@ -100,6 +100,14 @@ func bind(p: CharacterBody3D) -> void:
|
||||
tips_row.add_child(again)
|
||||
_main.add_child(tips_row)
|
||||
|
||||
var upd := CheckButton.new()
|
||||
upd.text = "Check for updates at start (Emberwild %s)" % Updates.version
|
||||
upd.focus_mode = Control.FOCUS_NONE
|
||||
upd.button_pressed = Updates.enabled
|
||||
upd.add_theme_font_size_override("font_size", 16)
|
||||
upd.toggled.connect(Updates.set_enabled)
|
||||
_main.add_child(upd)
|
||||
|
||||
# The tutorial: skip a step, or leave it (saved, to carry on later).
|
||||
if Guide.active:
|
||||
_main.add_child(_button("Skip this tutorial step", func(): Guide.skip(); close()))
|
||||
|
||||
Reference in New Issue
Block a user