added update confirmation checker

master
Vincent Zeng 2017-12-31 12:28:42 -05:00
parent eae0c5ffd4
commit e545dff22c
1 changed files with 7 additions and 2 deletions

View File

@ -233,9 +233,9 @@ def check_init():
''' '''
if not updated(): if not updated():
update_version() update_version()
else:
raw_input("press <enter> to explore your feels.\n\n")
## when ready, enter main program and load core engine
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__)
##### #####