added update confirmation checker
parent
eae0c5ffd4
commit
e545dff22c
|
@ -233,9 +233,9 @@ def check_init():
|
|||
'''
|
||||
if not updated():
|
||||
update_version()
|
||||
|
||||
## when ready, enter main program and load core engine
|
||||
else:
|
||||
raw_input("press <enter> to explore your feels.\n\n")
|
||||
|
||||
core.load(SETTINGS)
|
||||
|
||||
return ""
|
||||
|
@ -1243,6 +1243,11 @@ something strange happened to you during this update.
|
|||
# version 0.10.2 patch notes
|
||||
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__)
|
||||
|
||||
#####
|
||||
|
|
Loading…
Reference in New Issue