Rare: expand LEGENDARY_CONFIG_PATH
before using it.
This commit is contained in:
parent
0bd34af720
commit
79df146348
|
@ -18,6 +18,8 @@ def main() -> int:
|
|||
sys.stderr = open(os.devnull, 'w')
|
||||
|
||||
os.environ["QT_QPA_PLATFORMTHEME"] = ""
|
||||
if "LEGENDARY_CONFIG_PATH" in os.environ:
|
||||
os.environ["LEGENDARY_CONFIG_PATH"] = os.path.expanduser(os.environ["LEGENDARY_CONFIG_PATH"])
|
||||
|
||||
# fix cx_freeze
|
||||
multiprocessing.freeze_support()
|
||||
|
|
Loading…
Reference in a new issue