mirror of
https://github.com/tildeclub/ttbp.git
synced 2026-03-10 13:30:18 +00:00
added update confirmation checker
This commit is contained in:
@@ -233,9 +233,9 @@ def check_init():
|
|||||||
'''
|
'''
|
||||||
if not updated():
|
if not updated():
|
||||||
update_version()
|
update_version()
|
||||||
|
else:
|
||||||
## when ready, enter main program and load core engine
|
|
||||||
raw_input("press <enter> to explore your feels.\n\n")
|
raw_input("press <enter> to explore your feels.\n\n")
|
||||||
|
|
||||||
core.load(SETTINGS)
|
core.load(SETTINGS)
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
@@ -1243,6 +1243,11 @@ something strange happened to you during this update.
|
|||||||
# version 0.10.2 patch notes
|
# version 0.10.2 patch notes
|
||||||
print(config.UPDATES["0.10.2"])
|
print(config.UPDATES["0.10.2"])
|
||||||
|
|
||||||
|
confirm = ""
|
||||||
|
|
||||||
|
while confirm != "x":
|
||||||
|
confirm = raw_input("\nplease type <x> when you've finished reading about the updates! ")
|
||||||
|
|
||||||
open(versionFile, "w").write(__version__)
|
open(versionFile, "w").write(__version__)
|
||||||
|
|
||||||
#####
|
#####
|
||||||
|
|||||||
Reference in New Issue
Block a user