Skip to Content

Launch on System Boot

import { autolaunch } from "@tynd/core/client"; export async function enableAutolaunch() { await autolaunch.enable({ args: ["--minimized"] }); } export async function disableAutolaunch() { await autolaunch.disable(); } export async function isAutolaunchEnabled() { return autolaunch.isEnabled(); }

Respect the flag at startup:

const minimized = /* parse argv for --minimized */ false; if (minimized) { await tyndWindow.hide(); // land in tray }

Combine with Minimize to Tray so the window stays hidden on boot.

Platform storage: Windows registry Run key, macOS LaunchAgents, Linux XDG autostart. All user-scoped — no UAC prompt.

Related: autolaunch API.

Last updated on