Skip to content

Commit

Permalink
Merge branch 'tauri-v2'
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Apr 24, 2024
2 parents 8915f75 + 288ff9c commit 24a8485
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ RunMath comes with a few shortcuts to make your life easier:
- `Alt+M` to toggle the visibility of the app (M stands for math 👀)
- `Alt+Q` to quit the app
- `Alt+S` opens the settings
- `Alt+U` opens the download page in your browser
- `Enter` copies the result to the clipboard and clears the input
- `=` saves the result to the history
- `tab` to select the input
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"private": true,
"version": "0.0.0-development",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand Down
6 changes: 1 addition & 5 deletions src-tauri/capabilities/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
"cli:allow-cli-matches",
"process:allow-exit",
"process:allow-restart",
"autostart:allow-enable",
"autostart:allow-disable",
"autostart:allow-is-enabled",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"clipboard-manager:allow-write-text",
Expand All @@ -33,7 +30,6 @@
"webview:allow-internal-toggle-devtools",
"webview:allow-create-webview-window",
"updater:allow-check",
"updater:allow-download-and-install",
"dialog:allow-ask"
"updater:allow-download-and-install"
]
}
32 changes: 32 additions & 0 deletions src-tauri/capabilities/settings-page.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "settings-page",
"description": "Capabilities used by the settings page",
"local": true,
"platforms": [
"windows"
],
"windows": [
"settings-page"
],
"permissions": [
"event:allow-listen",
"menu:default",
"tray:default",
"autostart:allow-enable",
"autostart:allow-disable",
"autostart:allow-is-enabled",
"window:allow-start-dragging",
"window:allow-is-visible",
"window:allow-show",
"window:allow-hide",
"window:allow-set-focus",
"window:allow-unminimize",
"window:allow-close",
"window:allow-set-size",
"webview:allow-internal-toggle-devtools",
"webview:allow-create-webview-window",
"updater:allow-check",
"updater:allow-download-and-install"
]
}
1 change: 0 additions & 1 deletion src/components/InputPlaceholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const placeHolderContents = [
"alt + q = quit",
"alt + s = settings",
"alt + m = toggle visibility",
"alt + u = go to download page",
"enter = copy to clipboard",
"tab = select all",
];
Expand Down

0 comments on commit 24a8485

Please sign in to comment.