Skip to content

Commit

Permalink
Merge branch 'dhkatz:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
VensGTH authored Sep 16, 2024
2 parents 7524ea2 + 7db7646 commit d567637
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
548.0
548.2
14 changes: 10 additions & 4 deletions t5de/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,12 @@ def install(self, download=False):
attempts += 1
try:
if autogui.exists('Update Available'):
autogui.setWindow('Update Available')
autogui.click('Close', 0, 4)
print('SKIPPING: UPDATE AVAILABLE PROMPT')
autogui.setWindow('Update Available', timeout=4)
autogui.click('Close', timeout=4)
time.sleep(5)
autogui.setWindow('IMVU Login')
autogui.click('Close', 0, 4)
autogui.click('Close', timeout=4)
break
except Exception:
if attempts > 5:
Expand Down Expand Up @@ -193,7 +195,11 @@ def diff(self, generators, version=None):

executable = os.path.join(self.cwd, 'InstallIMVU_%s.exe' % version)
if os.path.isfile(executable):
os.remove(executable)
try:
os.remove(executable)
except Exception as e:
print('ERROR: {}'.format(e))
pass

def _latest_version(self):
"""
Expand Down

0 comments on commit d567637

Please sign in to comment.