Skip to content

Launch on System Boot

Install the required plugin:

Terminal window
tynd add autolaunch
import { autolaunch } from "@tynd/plugin-autolaunch/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:

import { tyndWindow } from "@tynd/core/client";
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.