-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
33 lines (30 loc) · 779 Bytes
/
settings.py
File metadata and controls
33 lines (30 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#must be set to false here or you get attributeerror when user doesnt press one of the buttons cause tkinter stupid
config = False
mods = False
resourcepacks = False
speedrunigt = False
#changes folders to true or false depending on which ones the user wants to sync
def add_config(var):
global config
if var==1:
config = True
else:
config = False
def add_mods(var):
global mods
if var==1:
mods = True
else:
mods = False
def add_resourcepacks(var):
global resourcepacks
if var==1:
resourcepacks = True
else:
resourcepacks = False
def add_speedrunigt(var):
global speedrunigt
if var==1:
speedrunigt = True
else:
speedrunigt = False