GUI development
This commit is contained in:
@@ -16,7 +16,7 @@ def urlmatch(s):
|
||||
return re.match("^https?://.*.(?:zip|exe)$", s) is not None
|
||||
|
||||
|
||||
def upload(is_gui=False, ui=None, login_ui=None):
|
||||
def upload(is_gui=False, ui=None, login_ui=None, Ui_LoginWindow=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 '
|
||||
@@ -93,7 +93,7 @@ def upload(is_gui=False, ui=None, login_ui=None):
|
||||
}
|
||||
|
||||
else:
|
||||
auth = get_auth(is_gui)
|
||||
auth = get_auth(is_gui, login_ui, Ui_LoginWindow)
|
||||
|
||||
project_name = ui.packagename_box.text()
|
||||
if not matches(project_name) or len(project_name) > 64 or len(project_name) < 3:
|
||||
|
||||
Reference in New Issue
Block a user