Compare commits
No commits in common. "aa4f38972e7e9561b0902e8035ccb6ff53ffafc4" and "740e2cc6fe39d5a564f8e525750f867809e61291" have entirely different histories.
aa4f38972e
...
740e2cc6fe
8
Main.py
8
Main.py
@ -64,7 +64,7 @@ def main():
|
|||||||
|
|
||||||
# Tabs to seperate options from launching the game
|
# Tabs to seperate options from launching the game
|
||||||
|
|
||||||
guitabs = CTkTabview(master=app, bg_color="transparent", corner_radius=20)
|
guitabs = CTkTabview(master=app, bg_color="transparent")
|
||||||
guitabs.pack(expand=True, fill='x', side="bottom", padx=0, pady=(20,0))
|
guitabs.pack(expand=True, fill='x', side="bottom", padx=0, pady=(20,0))
|
||||||
|
|
||||||
|
|
||||||
@ -103,10 +103,10 @@ def main():
|
|||||||
modpack_var = StringVar(value="N/A")
|
modpack_var = StringVar(value="N/A")
|
||||||
#modpack_label = CTkLabel(master=guitabs.tab("Launcher"), text="Select Modpack:", font=("Impact", 30))
|
#modpack_label = CTkLabel(master=guitabs.tab("Launcher"), text="Select Modpack:", font=("Impact", 30))
|
||||||
#modpack_label.pack()
|
#modpack_label.pack()
|
||||||
modpack_selector = CTkOptionMenu(master=guitabs.tab("Launcher"), values=sorted_pack_selection, variable=modpack_var, corner_radius=20)
|
modpack_selector = CTkOptionMenu(master=guitabs.tab("Launcher"), values=sorted_pack_selection, variable=modpack_var)
|
||||||
modpack_selector.set(options[0])
|
modpack_selector.set(options[0])
|
||||||
|
|
||||||
select_button = CTkButton(master=guitabs.tab("Options"), text="Browse...", command=select_prism_instance_path, corner_radius=20)
|
select_button = CTkButton(master=guitabs.tab("Options"), text="Browse...", command=select_prism_instance_path)
|
||||||
select_button.pack(pady=5)
|
select_button.pack(pady=5)
|
||||||
|
|
||||||
# Function to proceed with installation
|
# Function to proceed with installation
|
||||||
@ -121,7 +121,7 @@ def main():
|
|||||||
Backend.perform_installation(instance_name, prism_command, prism_instance_path, instance_id)
|
Backend.perform_installation(instance_name, prism_command, prism_instance_path, instance_id)
|
||||||
|
|
||||||
# Button to start installation
|
# Button to start installation
|
||||||
install_button = CTkButton(master=guitabs.tab("Launcher"), text="Launch Minecraft", command=start_installation, corner_radius=20)
|
install_button = CTkButton(master=guitabs.tab("Launcher"), text="Launch Minecraft", command=start_installation)
|
||||||
install_button.pack(pady=10)
|
install_button.pack(pady=10)
|
||||||
modpack_selector.pack(pady=20)
|
modpack_selector.pack(pady=20)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user