fether
fether copied to clipboard
Installer checkbox to launch Fether on startup
The one reason why having Fether as a taskbar app is great, is that we could launch it at computer startup so that it's up and synced whenever users need it later on, plus it syncs regularly (just like a browser plugin is always available).
It'd be great to have the functionality in the installers (mac and windows, I guess it's not doable for linux), and have the ability to disable it at left click on the the taskbar icon.
@Tbaut
- Toggle enable/disable launch Fether on startup using a checkbox launch Fether on startup menu item in a 'Preferences' section in the context menu that appears upon right-click. Reference https://electronjs.org/docs/api/menu-item#menuitemchecked
- Previously a legacy NPM package 'auto-launch' exists that was used and appears to configure launching an Electron app on startup on Windows, Linux, and macOS. Reference: https://www.npmjs.com/package/auto-launch. https://github.com/Teamwork/node-auto-launch
- Recently Electron has included
setLoginItemSettings
that does a similar thing to 'auto-launch', but may only work on macOS and Windows. Reference: https://electronjs.org/docs/api/app#appsetloginitemsettingssettings-macos-windows
I just confirmed that setLoginItemSettings
does not work on Linux, so we might have to just use https://www.npmjs.com/package/auto-launch, or a combination of both
thanks for the research. Linux users are a little special and love to be in control. Parity UI used to be launched on startup for Windows and Mac only iirc. I'd opt for using setLoginItemSettings
if there is no easy other solution. Linux is not the main target for Fether.
I got it to work on Linux using the auto-launch NPM library