Skip to content

@tauri-apps/plugin-autostart

Automatically launch your application at startup.

function disable(): Promise<void>;

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/autostart/guest-js/index.ts#L52

Disables autostart for the application.

Promise<void>

import { disable } from '@tauri-apps/plugin-autostart';
await disable();

2.0.0


function enable(): Promise<void>;

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/autostart/guest-js/index.ts#L38

Enables autostart for the application.

Promise<void>

import { enable } from '@tauri-apps/plugin-autostart';
await enable();

2.0.0


function isEnabled(): Promise<boolean>;

Source: https://github.com/tauri-apps/plugins-workspace/blob/v2/plugins/autostart/guest-js/index.ts#L24

Checks whether autostart is enabled for the application.

Promise<boolean>

A promise resolving to true if the application launches at startup, false otherwise.

import { isEnabled } from '@tauri-apps/plugin-autostart';
const enabled = await isEnabled();

2.0.0


© 2026 Tauri Contributors. CC-BY / MIT