feat: update to tauri beta.24 (#1537)

* feat: update to tauri beta.24

* remove .tauri

* pnpm build
This commit is contained in:
Lucas Fernandes Nogueira
2024-07-12 17:59:17 -03:00
committed by GitHub
parent 9973f8ee83
commit 22a17980ff
70 changed files with 1363 additions and 533 deletions
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -3,7 +3,7 @@
// SPDX-License-Identifier: MIT
import { invoke } from "@tauri-apps/api/core";
import { type WindowLabel, getCurrent } from "@tauri-apps/api/window";
import { type WindowLabel, getCurrentWindow } from "@tauri-apps/api/window";
export enum StateFlags {
SIZE = 1 << 0,
@@ -36,7 +36,7 @@ async function restoreState(
* Restore the state for the current window from disk.
*/
async function restoreStateCurrent(flags: StateFlags): Promise<void> {
await restoreState(getCurrent().label, flags);
await restoreState(getCurrentWindow().label, flags);
}
/**
* Get the name of the file used to store window state.
+1 -1
View File
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
"@tauri-apps/api": "2.0.0-beta.14"
"@tauri-apps/api": "2.0.0-beta.15"
}
}