Skip to content

Commit

Permalink
Feature: export import settings on desktop app (#15)
Browse files Browse the repository at this point in the history
* refactor: move updateStores function from main to settings

* feature: export import config

* chore: add technology stack on README.md

* refactor
  • Loading branch information
r4ai authored Apr 2, 2023
1 parent b9942c5 commit 4a3e268
Show file tree
Hide file tree
Showing 11 changed files with 475 additions and 43 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"APPCONFIG",
"fatsine",
"headphonejames",
"Heroicons",
"imgs",
"Neuromodulation",
"testid",
Expand Down
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This app is available as:

- Desktop app:
- Windows
- MacOS
- macOS
- Linux
- Web app: https://r4ai.github.io/tinnitus-reducer-acrn/

Expand Down Expand Up @@ -49,7 +49,32 @@ This app is heavily inspired by following softwares:

I do not have a Linux machine and therefore cannot test the Linux version of the app. If you find any bugs, please open an issue and let me know. Even on other operating systems, if you find any problems, please let me know.

If you have any ideas you would like to see implemented in this app, feel free to open a new issue and let me know.
If you have any ideas you would like to see implemented in this app, feel free to open a new issue and let me know. **Any kinds of contributions are welcome!!**

### Commands

```bash
# Install dependencies
$ pnpm i

# Run the dev app
$ pnpm tauri dev

# Build the app
$ pnpm tauri build
```

### Technology stack

- Framework: [Tauri](https://tauri.studio/)
- Frontend:
- Language: TypeScript
- Framework: Svelte
- Audio: [tone.js](https://tonejs.github.io/)
- UI: TailwindCSS, DaisyUI, svelte-range-slider-pips
- Icons: Fluent Emoji, Heroicons
- Backend:
- Language: Rust

## License

Expand Down
170 changes: 170 additions & 0 deletions src-tauri/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 src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2021"
tauri-build = { version = "1.2", features = [] }

[dependencies]
tauri = { version = "1.2", features = ["fs-create-dir", "fs-read-dir", "fs-read-file", "fs-write-file", "os-all", "path-all", "shell-open", "window-close", "window-hide", "window-maximize", "window-minimize", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] }
tauri = { version = "1.2", features = ["dialog-open", "dialog-save", "fs-create-dir", "fs-read-dir", "fs-read-file", "fs-write-file", "os-all", "path-all", "shell-open", "window-close", "window-hide", "window-maximize", "window-minimize", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9.19"
Expand Down
12 changes: 10 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "tinnitus-reducer-ACRN",
"version": "0.2.0"
"version": "0.2.1"
},
"tauri": {
"allowlist": {
Expand All @@ -23,7 +23,7 @@
"readDir": true,
"readFile": true,
"writeFile": true,
"scope": ["$APPCONFIG", "$APPCONFIG/*"]
"scope": ["**"]
},
"path": {
"all": true
Expand All @@ -41,6 +41,14 @@
},
"os": {
"all": true
},
"dialog": {
"all": false,
"ask": false,
"confirm": false,
"message": false,
"open": true,
"save": true
}
},
"bundle": {
Expand Down
Loading

0 comments on commit 4a3e268

Please sign in to comment.