Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-05-29 01:04:44 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-05-29 12:43:30 +0300
commitae5ac2d3a1d582b586d58a2408dab095e3c398ff (patch)
tree4a1b61f4fd5aa86a30e65ac6cae01143ec9c4bdb /win
parentbbc6c55d85362de5cbc2aab65680e9525518443f (diff)
refactor: Rename main application entry points
Diffstat (limited to 'win')
-rwxr-xr-xwin/misc/create-launcher.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/misc/create-launcher.py b/win/misc/create-launcher.py
index cf4475cba..53101f2f2 100755
--- a/win/misc/create-launcher.py
+++ b/win/misc/create-launcher.py
@@ -98,8 +98,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
"root_path = Path(sys.executable).parents[1];"
"from ctypes import windll;"
"windll.kernel32.SetDllDirectoryW(str(root_path / 'bin'));"
- "from gajim import gajim;"
- "gajim.main();");
+ "import gajim.main;"
+ "gajim.main.run();");
Py_Finalize();
return result;
}