diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-18 13:06:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-18 13:06:41 -0300 |
commit | 9545d544f26a6086c1449fa153275efdb055bf7d (patch) | |
tree | 9eba5c4a586bffdf230c248c8ca1cd975ceef2ab | |
parent | d10c573fb0f3fe49000f99098812658fe4a5e572 (diff) | |
download | renpy-9545d544f26a6086c1449fa153275efdb055bf7d.tar.gz renpy-9545d544f26a6086c1449fa153275efdb055bf7d.tar.bz2 renpy-9545d544f26a6086c1449fa153275efdb055bf7d.tar.xz renpy-9545d544f26a6086c1449fa153275efdb055bf7d.zip |
Add an option to update the Launcher automagically.
This will expedite a great deal of things
-rw-r--r-- | game/options.rpy | 1 | ||||
-rw-r--r-- | game/screens.rpy | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/game/options.rpy b/game/options.rpy index 63b69c4..5222f90 100644 --- a/game/options.rpy +++ b/game/options.rpy @@ -251,6 +251,7 @@ init python: ## Other build configuration config.window_icon="icon.ico" build.include_i686=False + build.include_update=True # Remove renpy license from About. LGPL and MIT doesn't require it. # Instead, leave only the link to Ren'Py licenses and legales. diff --git a/game/screens.rpy b/game/screens.rpy index 473bdc9..95b8d22 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -315,6 +315,9 @@ screen navigation(): textbutton _("Main Menu") action MainMenu() + if persistent.host is not None: + textbutton _("Update") action updater.Update(persistent.host+'/dist') + textbutton _("About") action ShowMenu("about") if renpy.variant("pc"): |