Replies: 1 comment
-
We have a plugin for the autostart part of the question: https://github.com/tauri-apps/tauri-plugin-autostart/ Not spawning a window just comes down to not defining one in tauri.conf.json, but you'll have to explicitly keep the event loop running in rust so that the app doesn't exit: tauri/examples/api/src-tauri/src/main.rs Lines 240 to 244 in b02fc90
The plugin does not support this but if you already set the regkey yourself yes, you can. Small example (first google result): https://stackoverflow.com/a/19299564 - you should then be able to read that via https://doc.rust-lang.org/std/env/fn.args.html |
Beta Was this translation helpful? Give feedback.
-
May I ask how to achieve the startup and self start of the tauri application, and only display the system tray without displaying the main application window.
Edit by Maintainer:
Content of duplicate question by the same user:
Beta Was this translation helpful? Give feedback.
All reactions