Debug changing email and installation

This commit is contained in:
BarsTiger
2022-03-01 20:47:20 +02:00
parent 005fbb47f9
commit cdd5892990
2 changed files with 4 additions and 2 deletions

View File

@@ -126,6 +126,9 @@ def install(package):
download_ui.logs_box.append("")
download_ui.logs_box.moveCursor(QtGui.QTextCursor.End)
if r['url'].split('.')[-1] == 'zip':
os.remove('{2}apps/{0}/{1}'.format(r['name'], r['url'].split('/')[-1], horsy_vars.horsypath))
download_ui.logs_box.append("")
download_ui.logs_box.append("Generating launch script")
with open('{1}apps/{0}.bat'.format(r['name'], horsy_vars.horsypath), 'w') as f: