|
4 | 4 |
|
5 | 5 | rootDir = os.path.dirname(os.path.abspath(__file__))
|
6 | 6 | initDir = os.path.dirname(os.path.abspath(sys.argv[0]))
|
7 |
| -if os.name == 'nt': |
| 7 | +osType = os.name |
| 8 | +if osType == 'nt': |
8 | 9 | configDir = os.path.join(os.getenv('APPDATA'), "Furglitch", "MO2SG")
|
9 | 10 | log.info("Windows OS detected")
|
10 | 11 | log.info(f"Config Directory: {configDir}")
|
11 |
| -elif os.name == 'posix': |
12 |
| - configDir = os.path.join(os.path.expanduser('~'), ".config", "Furglitch", "MO2SG") |
| 12 | +elif osType == 'posix': |
| 13 | + configDir = os.path.join(os.path.expanduser('~'), ".config", "furglitch", "MO2SG") |
13 | 14 | log.info("Linux OS detected")
|
14 | 15 | log.info(f"Config Directory: {configDir}")
|
15 | 16 | else:
|
|
18 | 19 | sys.exit(1)
|
19 | 20 | logDir = os.path.join(configDir, 'logs', f'{dt.now().strftime('%Y-%m-%d %H%M%S')}.log')
|
20 | 21 | resourceDir = os.path.join(rootDir, "resources")
|
21 |
| -iconDir = os.path.join(resourceDir, "icon.ico") |
| 22 | +iconDir = os.path.join(resourceDir, "icon.png") |
| 23 | + |
| 24 | +print(f"Root Directory: {rootDir}") |
| 25 | +print(f"Initial Directory: {initDir}") |
| 26 | +print(f"Config Directory: {configDir}") |
| 27 | +print(f"Log Directory: {logDir}") |
| 28 | +print(f"Resource Directory: {resourceDir}") |
| 29 | +print(f"Icon Directory: {iconDir}") |
22 | 30 |
|
23 | 31 | saved = True
|
24 | 32 | categories = {}
|
|
27 | 35 | endColor = "#ffffff"
|
28 | 36 | gradient = []
|
29 | 37 | header = 'Bracket'
|
30 |
| -theme = 'Nord' |
| 38 | +theme = 'Catppuccin Mocha' |
31 | 39 | themeAccent = 'Blue'
|
32 | 40 | catCasing = 'Unchanged'
|
33 | 41 | subCasing = 'Unchanged'
|
|
0 commit comments