KilleenCode / brancato

A cross-platform omnibar to to easily run workflows, built in Rust 🦀
MIT License
5 stars 2 forks source link

"Run at startup" option/setting #27

Closed SeanKilleen closed 2 years ago

SeanKilleen commented 2 years ago

I like that Brancato doesn't run at startup by default, but I think it'd be a great idea to allow someone to opt-in to startup behavior.

RyKilleen commented 2 years ago

Pretty sure this involves setting some WiX fragments manually, so going to wait for a little community feedback.

RyKilleen commented 2 years ago

https://crates.io/crates/auto-launch

Per Fabian: "note that what this crate does is really simple on linux & windows (mac is weird) so you can get around without it "

RyKilleen commented 2 years ago

https://github.com/tauri-apps/tauri/discussions/2576#discussioncomment-1433160 https://github.com/tauri-apps/tauri/issues/2589

RyKilleen commented 2 years ago

For reference: https://github.com/zzzgydi/clash-verge/blob/b2a24c7abd82f4650ec3ec873b742219169310de/src-tauri/src/core/verge.rs#L73

RyKilleen commented 2 years ago

Should be even easier now:

https://github.com/tauri-apps/tauri-plugin-autostart