feat: upgrade tauri

This commit is contained in:
reya
2024-02-24 18:26:20 +07:00
parent 88a6c3c81f
commit fe73e1428b
29 changed files with 15403 additions and 1266 deletions

View File

@@ -4,7 +4,7 @@
"private": true,
"main": "./src/index.ts",
"dependencies": {
"@getalby/sdk": "^3.3.0",
"@getalby/sdk": "^3.3.1",
"@lume/icons": "workspace:^",
"@lume/utils": "workspace:^",
"@radix-ui/react-avatar": "^1.0.4",
@@ -14,27 +14,27 @@
"@radix-ui/react-hover-card": "^1.0.7",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-tooltip": "^1.0.7",
"@tanstack/react-query": "^5.20.5",
"@tanstack/react-query": "^5.22.2",
"get-urls": "^12.1.0",
"jotai": "^2.6.4",
"media-chrome": "^2.2.4",
"jotai": "^2.6.5",
"media-chrome": "^2.2.5",
"minidenticons": "^4.2.0",
"nanoid": "^5.0.5",
"nanoid": "^5.0.6",
"qrcode.react": "^3.1.0",
"re-resizable": "^6.9.11",
"react": "^18.2.0",
"react-currency-input-field": "^3.7.0",
"react-currency-input-field": "^3.8.0",
"react-i18next": "^14.0.5",
"react-string-replace": "^1.1.1",
"sonner": "^1.4.0",
"sonner": "^1.4.1",
"string-strip-html": "^13.4.6",
"virtua": "^0.27.0"
"virtua": "^0.27.5"
},
"devDependencies": {
"@lume/tailwindcss": "workspace:^",
"@lume/tsconfig": "workspace:^",
"@lume/types": "workspace:^",
"@types/react": "^18.2.55",
"@types/react": "^18.2.58",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
}

View File

@@ -1,3 +1,4 @@
import { WebviewWindow } from "@tauri-apps/api/webviewWindow";
import type {
Account,
Event,
@@ -6,7 +7,6 @@ import type {
Metadata,
} from "@lume/types";
import { invoke } from "@tauri-apps/api/core";
import { WebviewWindow } from "@tauri-apps/api/webview";
import { open } from "@tauri-apps/plugin-dialog";
import { readFile } from "@tauri-apps/plugin-fs";
import { generateContentTags } from "@lume/utils";
@@ -369,7 +369,7 @@ export class Ark {
"mov",
];
let selected =
const selected =
filePath ||
(
await open({