Minimize the tray application, perform corresponding window operations based on user actions.
First time opening the tauri app, the desktop tray can run normally, but an error occurs in the desktop tray after vite hot reload.
error :
TypeError: window[("_" + 3953540559)] is not a function at <anonymous>:1:162 Promise.catch
(匿名) @ VM354:1
tauri info
[✔] Environment
- OS: Windows 10.0.22631 x86_64 (X64)
✔ WebView2: 134.0.3124.83
✔ MSVC: Visual Studio Community 2022
✔ rustc: 1.85.0 (4d91de4e4 2025-02-17)
✔ cargo: 1.85.0 (d73d2caf9 2024-12-31)
✔ rustup: 1.28.1 (f9edccde0 2025-03-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 23.9.0
- yarn: 1.22.22
- npm: 10.9.2
[-] Packages
- tauri