Skip to content

Commit

Permalink
Shell -> Opener, Update tauri plugins to use formal releases
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyCoolSlug committed Jan 19, 2025
1 parent 8fcac27 commit 724be5f
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 45 deletions.
35 changes: 35 additions & 0 deletions package-lock.json

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

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
},
"devDependencies": {
"@tauri-apps/cli": "^2.0.0-beta.12"
},
"dependencies": {
"@tauri-apps/plugin-opener": "^2.2.4"
}
}
57 changes: 16 additions & 41 deletions src-tauri/Cargo.lock

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

6 changes: 3 additions & 3 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ serde_json = "1.0.136"
directories = "6.0.0"

tauri = { version = "2.2.3", features = [] }
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-shell = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
tauri-plugin-single-instance = "2.2.1"
tauri-plugin-window-state = "2.2.0"
tauri-plugin-opener = "2.2.4"

[target.'cfg(not(target_os = "windows"))'.dependencies]
shell-words = "1.1.0"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async fn run_application() -> Result<(), String> {
// Carry on with the rest..
builder
.plugin(tauri_plugin_window_state::Builder::default().build())
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_opener::init())
.setup(|app| {
#[cfg(target_os = "macos")]
{
Expand Down

0 comments on commit 724be5f

Please sign in to comment.