From 379a4b03d71dde860cc50cceb2ff4cb83e67c875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 26 Apr 2018 19:16:56 +0200 Subject: [PATCH] Fix Windows build --- win/misc/create-launcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/misc/create-launcher.py b/win/misc/create-launcher.py index cee34a958..d6945d3e0 100644 --- a/win/misc/create-launcher.py +++ b/win/misc/create-launcher.py @@ -89,8 +89,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PySys_SetArgvEx(__argc, szArglist, 0); result = PyRun_SimpleString("import sys; import os;" "sys.frozen=True;" - "import gajim.gajim as g;" - "g.GajimApplication().run(sys.argv);"); + "from gajim import gajim;" + "gajim.main();"); Py_Finalize(); return result; }