Skip to content

Commit c184977

Browse files
committed
Suggest not reopening manually after update
1 parent feefac9 commit c184977

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,7 @@ def popup_content():
665665
text_x = screen_pos.x + (width - text_size.x) / 2
666666
text_y = screen_pos.y - (height + text_size.y) / 2 - imgui.style.item_spacing.y
667667
draw_list.add_text(text_x, text_y, col, text)
668+
imgui.text("(DON'T reopen manually after the update!)")
668669
def cancel_callback():
669670
cancel[0] = True
670671
buttons = {
@@ -757,7 +758,7 @@ def cancel_callback():
757758
path = globals.self_path.parent.parent
758759
else:
759760
path = globals.self_path
760-
utils.push_popup(msgbox.msgbox, "F95checker update", f"F95Checker has been updated to version {latest_name} (you are on {globals.version_name}).\nTHIS WILL DELETE EVERYTHING INSIDE {path}, MAKE SURE THAT IS OK!\n\nDo you want to update?", MsgBox.info, buttons=buttons, more=changelog, bottom=True)
761+
utils.push_popup(msgbox.msgbox, "F95checker update", f"F95Checker has been updated to version {latest_name} (you are on {globals.version_name}).\nUPDATING WILL DELETE EVERYTHING IN THIS FOLDER:\n{path}\n\nDo you want to update?\n(The app will restart automatically, DON'T reopen manually!)", MsgBox.info, buttons=buttons, more=changelog, bottom=True)
761762
if globals.gui.minimized or not globals.gui.focused:
762763
globals.gui.tray.push_msg(title="F95checker update", msg="F95Checker has received an update.\nClick here to view it.", icon=QSystemTrayIcon.MessageIcon.Information)
763764

modules/globals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import os
99
import re
1010

11-
version = "9.2.1"
11+
version = "9.2.2"
1212
is_release = False
1313
build_number = 0
1414
version_name = f"{version}{'' if is_release else ' beta'}{'' if is_release or not build_number else ' ' + str(build_number)}"

0 commit comments

Comments
 (0)