Skip to content

Commit

Permalink
feat: single instance client
Browse files Browse the repository at this point in the history
  • Loading branch information
JMBeresford committed Aug 8, 2024
1 parent 92eeb01 commit bbc1d51
Show file tree
Hide file tree
Showing 10 changed files with 2,628 additions and 2,434 deletions.
74 changes: 60 additions & 14 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion packages/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository.workspace = true
license.workspace = true
edition.workspace = true
description = "The Retrom video game library client"
rust-version = "1.60"
rust-version = "1.75"
exclude = ["**/node_modules"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down Expand Up @@ -43,3 +43,6 @@ tauri-plugin-shell = "2.0.0-beta.7"
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2.0.0-rc.0"
14 changes: 7 additions & 7 deletions packages/client/capabilities/migrated.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"local": true,
"windows": ["main"],
"permissions": [
"path:default",
"event:default",
"window:default",
"app:default",
"resources:default",
"menu:default",
"tray:default",
"core:path:default",
"core:event:default",
"core:window:default",
"core:app:default",
"core:resources:default",
"core:menu:default",
"core:tray:default",
"fs:default",
"fs:deny-default",
"fs:allow-appdata-write-recursive",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/gen/schemas/acl-manifests.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/client/gen/schemas/capabilities.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["path:default","event:default","window:default","app:default","resources:default","menu:default","tray:default","fs:default","fs:deny-default","fs:allow-appdata-write-recursive",{"identifier":"fs:allow-exists","allow":[{"path":"$APPDATA/*"},{"path":"$APPDATA"}]},{"identifier":"fs:allow-mkdir","allow":[{"path":"$APPDATA"}]},"installer:allow-install-game","installer:allow-uninstall-game","installer:allow-get-game-installation-status","dialog:allow-open","launcher:allow-play-game","launcher:allow-stop-game","launcher:allow-get-game-play-status"]}}
{"migrated":{"identifier":"migrated","description":"permissions that were migrated from v1","local":true,"windows":["main"],"permissions":["core:path:default","core:event:default","core:window:default","core:app:default","core:resources:default","core:menu:default","core:tray:default","fs:default","fs:deny-default","fs:allow-appdata-write-recursive",{"identifier":"fs:allow-exists","allow":[{"path":"$APPDATA/*"},{"path":"$APPDATA"}]},{"identifier":"fs:allow-mkdir","allow":[{"path":"$APPDATA"}]},"installer:allow-install-game","installer:allow-uninstall-game","installer:allow-get-game-installation-status","dialog:allow-open","launcher:allow-play-game","launcher:allow-stop-game","launcher:allow-get-game-play-status"]}}
Loading

0 comments on commit bbc1d51

Please sign in to comment.