Commit b22b50c9 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Windows: Fix launcher

parent 9678acc3
...@@ -89,7 +89,7 @@ def get_launcher_code(debug): ...@@ -89,7 +89,7 @@ def get_launcher_code(debug):
PySys_SetArgvEx(__argc, szArglist, 0); PySys_SetArgvEx(__argc, szArglist, 0);
result = PyRun_SimpleString( result = PyRun_SimpleString(
"import sys; import os;" "import sys; import os;"
"os.environ['GAJIM_DEBUG'] = %s;" "os.environ['GAJIM_DEBUG'] = '%s';"
"sys.frozen=True;" "sys.frozen=True;"
"from pathlib import Path;" "from pathlib import Path;"
"root_path = Path(sys.executable).parents[1];" "root_path = Path(sys.executable).parents[1];"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment