mirror of
https://gitlab.com/cristofa/tauri-plugin-keep-screen-on.git
synced 2025-12-23 09:19:49 +00:00
guest-js fix
This commit is contained in:
parent
66bf30335d
commit
b6806d68fe
1 changed files with 0 additions and 3 deletions
|
|
@ -1,7 +1,4 @@
|
||||||
import { invoke } from '@tauri-apps/api/core'
|
import { invoke } from '@tauri-apps/api/core'
|
||||||
import {
|
|
||||||
warn
|
|
||||||
} from '@tauri-apps/plugin-log';
|
|
||||||
|
|
||||||
export async function keepScreenOn(enable: boolean):Promise<void> {
|
export async function keepScreenOn(enable: boolean):Promise<void> {
|
||||||
await invoke<{value?: string}>('plugin:keep-screen-on|keep_screen_on', {
|
await invoke<{value?: string}>('plugin:keep-screen-on|keep_screen_on', {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue