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

Windows: Fix launcher

parent 9678acc3
......@@ -89,7 +89,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
PySys_SetArgvEx(__argc, szArglist, 0);
result = PyRun_SimpleString(
"import sys; import os;"
"os.environ['GAJIM_DEBUG'] = %s;"
"os.environ['GAJIM_DEBUG'] = '%s';"
"sys.frozen=True;"
"from pathlib import Path;"
"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