From bf06ca7832473db33c456e7db1a0f820e66e2dd5 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Fri, 23 Oct 2026 15:40:15 +0800 Subject: [PATCH] feat(app): Show a themed splash until the launch project opens Project windows are created in setup with the saved theme's frame colour, and the splash covers the first render while the launch project opens, so a window no longer flashes white or the Welcome screen. Single-instance is now release-only so a dev build can run beside an installed release. --- index.html | 52 ++++++++++++++++++ src-tauri/src/lib.rs | 8 ++- src-tauri/src/windows.rs | 91 ++++++++++++++++++++++++------- src-tauri/tauri.conf.json | 1 + src-tauri/tauri.windows.conf.json | 1 + src/features/app/windows.ts | 5 +- src/main.tsx | 2 + src/platform/splash.ts | 29 ++++++++++ 8 files changed, 166 insertions(+), 23 deletions(-) create mode 100644 src/platform/splash.ts diff --git a/index.html b/index.html index 095dfe42..6cd9d566 100644 --- a/index.html +++ b/index.html @@ -5,9 +5,61 @@