效果代码创建window创建tray创建WebView 问题一加载白屏🛠webview采用SPA,导致暗黑模式会出现白屏闪动。解决方案:先隐藏,加载完毕再显示。 相关链接System TrayThe cross-platform app building toolkithttps://tauri.app/learn/system-tray/GitHub - Atticus6/tauri-starterContribute to Atticus6/tauri-starter development by creating an account on GitHub.https://github.com/Atticus6/tauri-starter