Merge branch 'master' of https://gitea.piwalker.net/piwalker/ModpackUpdater
This commit is contained in:
commit
8870b39592
@ -170,7 +170,8 @@ def ftpDownload(ftp, file, stream):
|
|||||||
#create tkinter window
|
#create tkinter window
|
||||||
print("downloading file: "+file)
|
print("downloading file: "+file)
|
||||||
dialog = CTk()
|
dialog = CTk()
|
||||||
dialog.attributes('-type', 'dialog')
|
if os.name == 'posix':
|
||||||
|
dialog.attributes('-type', 'dialog')
|
||||||
dialog.title("Downloading Modpack")
|
dialog.title("Downloading Modpack")
|
||||||
set_appearance_mode("dark")
|
set_appearance_mode("dark")
|
||||||
set_default_color_theme("blue")
|
set_default_color_theme("blue")
|
||||||
|
3
Main.py
3
Main.py
@ -54,7 +54,8 @@ def main():
|
|||||||
|
|
||||||
# GUI for selecting Prism instance path
|
# GUI for selecting Prism instance path
|
||||||
app = CTk()
|
app = CTk()
|
||||||
app.attributes('-type', 'dialog')
|
if os.name == 'posix':
|
||||||
|
app.attributes('-type', 'dialog')
|
||||||
app.geometry("1280x720")
|
app.geometry("1280x720")
|
||||||
app.title("FamilyCraft Launcher")
|
app.title("FamilyCraft Launcher")
|
||||||
set_appearance_mode("dark")
|
set_appearance_mode("dark")
|
||||||
|
@ -84,7 +84,8 @@ def main():
|
|||||||
fileName = "modpack.mrpack"
|
fileName = "modpack.mrpack"
|
||||||
|
|
||||||
app = CTk()
|
app = CTk()
|
||||||
app.attributes('-type', 'dialog')
|
if os.name == 'posix':
|
||||||
|
app.attributes('-type', 'dialog')
|
||||||
app.geometry('500x400')
|
app.geometry('500x400')
|
||||||
app.title("FamilyCraft Launcher Upload Utility")
|
app.title("FamilyCraft Launcher Upload Utility")
|
||||||
set_appearance_mode("dark")
|
set_appearance_mode("dark")
|
||||||
|
Loading…
Reference in New Issue
Block a user