Skip to content

@tauri-apps/plugin-autostart

Automatically launch your application at startup.

function disable(): Promise<void>;

Defined in: plugins/autostart/guest-js/index.ts:52

Disables autostart for the application.

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

Promise<void>

2.0.0


function enable(): Promise<void>;

Defined in: plugins/autostart/guest-js/index.ts:38

Enables autostart for the application.

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

Promise<void>

2.0.0


function isEnabled(): Promise<boolean>;

Defined in: plugins/autostart/guest-js/index.ts:24

Checks whether autostart is enabled for the application.

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

Promise<boolean>

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

2.0.0


© 2026 Tauri Contributors. CC-BY / MIT