mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 21:30:00 +10:00
gui_main: Only prompt updates once per launch
This commit is contained in:
@@ -183,9 +183,13 @@ class wx_python_gui:
|
||||
threading.Thread(target=self.check_for_updates).start()
|
||||
|
||||
def check_for_updates(self, event=None):
|
||||
if self.constants.has_checked_updates is True:
|
||||
return
|
||||
|
||||
ignore_updates = global_settings.global_settings().read_property("IgnoreAppUpdates")
|
||||
if ignore_updates is not True:
|
||||
self.constants.ignore_updates = False
|
||||
self.constants.has_checked_updates = True
|
||||
dict = updates.check_binary_updates(self.constants).check_binary_updates()
|
||||
if dict:
|
||||
for entry in dict:
|
||||
|
||||
Reference in New Issue
Block a user