Skip to content

Commit

Permalink
Make GUI work somewhat on macOS Mojave
Browse files Browse the repository at this point in the history
helgoboss committed Jun 14, 2024
1 parent e05c509 commit 0a267e1
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gui/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions gui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "es2015",
"useDefineForClassFields": true,
"module": "ESNext",
"module": "es2015",
"lib": [
"ES2020",
"DOM",
3 changes: 3 additions & 0 deletions gui/vite.config.ts
Original file line number Diff line number Diff line change
@@ -18,4 +18,7 @@ export default defineConfig(async () => ({
ignored: ["**/src-tauri/**"],
},
},
build: {
target: 'es2015',
},
}));

0 comments on commit 0a267e1

Please sign in to comment.