mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-16 16:47:21 +02:00
16 lines
429 B
JavaScript
16 lines
429 B
JavaScript
import { invoke } from '@tauri-apps/api/tauri';
|
|
|
|
// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
|
|
async function isEnabled() {
|
|
return await invoke("plugin:autostart|is_enabled");
|
|
}
|
|
async function enable() {
|
|
await invoke("plugin:autostart|enable");
|
|
}
|
|
async function disable() {
|
|
await invoke("plugin:autostart|disable");
|
|
}
|
|
|
|
export { disable, enable, isEnabled };
|
|
//# sourceMappingURL=index.mjs.map
|