You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tauri-plugins-workspace/plugins/autostart/guest-js/dist/index.mjs

16 lines
429 B

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