diff --git a/Cargo.lock b/Cargo.lock index 61e5247..203406d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5348,9 +5348,9 @@ dependencies = [ [[package]] name = "tauri" -version = "1.6.1" +version = "1.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f078117725e36d55d29fafcbb4b1e909073807ca328ae8deb8c0b3843aac0fed" +checksum = "047aefcc7721bfb8024a9bc39d4719112262610502de7a224fa62c4570cd78d4" dependencies = [ "anyhow", "cocoa", @@ -5363,7 +5363,7 @@ dependencies = [ "glib", "glob", "gtk", - "heck 0.4.1", + "heck 0.5.0", "http", "ignore", "objc", diff --git a/gui/src-tauri/Cargo.toml b/gui/src-tauri/Cargo.toml index 43c3dae..a31c76e 100644 --- a/gui/src-tauri/Cargo.toml +++ b/gui/src-tauri/Cargo.toml @@ -14,7 +14,7 @@ tauri-build = { version = "1", features = [] } reaboot-core.workspace = true reaboot-reapack.workspace = true # GUI framework -tauri = { workspace = true, features = ["shell-open", "dialog-open", "process-exit", "clipboard-read-text"] } +tauri = { workspace = true, features = ["shell-open", "dialog-open", "process-exit", "clipboard-read-text", "devtools"] } # For (de)serializing commands and events serde = { workspace = true, features = ["derive"] } # For (de)serializing commands and events diff --git a/gui/tsconfig.json b/gui/tsconfig.json index 270f1da..0da3e44 100644 --- a/gui/tsconfig.json +++ b/gui/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { - "target": "ES2020", + "target": "es2015", "useDefineForClassFields": true, - "module": "ESNext", + "module": "es2015", "lib": [ "ES2020", "DOM", diff --git a/gui/vite.config.ts b/gui/vite.config.ts index e238981..c4051b5 100644 --- a/gui/vite.config.ts +++ b/gui/vite.config.ts @@ -18,4 +18,7 @@ export default defineConfig(async () => ({ ignored: ["**/src-tauri/**"], }, }, + build: { + target: 'es2015', + }, }));