This commit is contained in:
BarsTiger
2022-02-25 23:19:48 +02:00
parent 3549357b8b
commit f92aa54668
2 changed files with 4 additions and 4 deletions

View File

@@ -141,8 +141,8 @@ def install(package):
download_ui.logs_box.moveCursor(QtGui.QTextCursor.End)
threading.Thread(target=os.system, args=('{2}apps/{0}/{1}'.format(r['name'], r['install'],
horsy_vars.horsypath),)).start()
download_ui.logs_box.append(f"All done!\nYou can run your app by entering {r['name']} in terminal")
download_ui.logs_box.moveCursor(QtGui.QTextCursor.End)
download_ui.logs_box.append(f"All done!\nYou can run your app by entering {r['name']} in terminal")
download_ui.logs_box.moveCursor(QtGui.QTextCursor.End)
threading.Thread(target=install_this).start()
except:

View File

@@ -6,7 +6,7 @@ from modules.auth import get_auth, del_auth, get_auth_without_login
import re
import modules.vars as horsy_vars
import os
from modules.http_status import handle, codes as status_codes
from modules.http_status import handle
def matches(s):
@@ -17,7 +17,7 @@ def urlmatch(s):
return re.match("^https?://.*.(?:zip|exe)$", s) is not None
def upload(is_gui=False, ui=None, login_ui=None, Ui_LoginWindow=None):
def upload(is_gui=False, ui=None):
if not is_gui:
print('Welcome to the uploader')
print('Before starting, please make sure you have done your project and [blink]uploaded[/] it to any hosting '