From 6d4249cf1ef7977c0246003f8cad67fb464cbf89 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Wed, 18 Feb 2026 16:14:02 +0300 Subject: [PATCH] add *.patch for win build --- build/win/hide_splash.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 build/win/hide_splash.patch diff --git a/build/win/hide_splash.patch b/build/win/hide_splash.patch new file mode 100644 index 00000000..0dc700c6 --- /dev/null +++ b/build/win/hide_splash.patch @@ -0,0 +1,26 @@ +Subject: [PATCH] hide_splash +--- +Index: app/ui/main.py +IDEA additional info: +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP +<+>UTF-8 +=================================================================== +diff --git a/app/ui/main.py b/app/ui/main.py +--- a/app/ui/main.py (revision 0fc0ef1d3e80fc84f4da81e1117db63a1f1d3467) ++++ b/app/ui/main.py (date 1771419933854) +@@ -651,6 +651,15 @@ + gen = self.init_http_api() + GLib.idle_add(lambda: next(gen, False), priority=GLib.PRIORITY_LOW) + ++ if hasattr(sys, "_MEIPASS"): ++ import pyi_splash ++ ++ if pyi_splash.is_alive(): ++ pyi_splash.close() ++ ++ if self._main_window.is_suspended(): ++ self._main_window.present() ++ + def do_shutdown(self): + """ Performs shutdown tasks """ + if self._settings.load_last_config: