forked from endorphant/ttbp
added update confirmation checker
parent
eae0c5ffd4
commit
e545dff22c
|
@ -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__)
|
||||||
|
|
||||||
#####
|
#####
|
||||||
|
|
Loading…
Reference in New Issue