summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-07-18 13:06:41 -0300
committerJesusaves <cpntb1@ymail.com>2023-07-18 13:06:41 -0300
commit9545d544f26a6086c1449fa153275efdb055bf7d (patch)
tree9eba5c4a586bffdf230c248c8ca1cd975ceef2ab
parentd10c573fb0f3fe49000f99098812658fe4a5e572 (diff)
downloadrenpy-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.rpy1
-rw-r--r--game/screens.rpy3
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"):