Skip to content

Commit

Permalink
chore: update to Tauri v2 stable
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <[email protected]>
  • Loading branch information
Martichou committed Oct 2, 2024
1 parent cd237a5 commit ec6a468
Show file tree
Hide file tree
Showing 7 changed files with 606 additions and 324 deletions.
2 changes: 1 addition & 1 deletion app/legacy/src-tauri/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub fn get_visibility(app_handle: &AppHandle) -> Visibility {
error!("get_visibility: error: {}", e);
None
})
.map_or(Visibility::Visible, |v| Visibility::from_raw_value(v as u8))
.map_or(Visibility::Visible, Visibility::from_raw_value)
}

pub fn set_visibility(app_handle: &AppHandle, v: Visibility) -> Result<(), anyhow::Error> {
Expand Down
16 changes: 8 additions & 8 deletions app/main/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
},
"dependencies": {
"@martichou/core_lib": "link:../../core_lib",
"@tauri-apps/api": "2.0.0-rc.4",
"@tauri-apps/plugin-autostart": "2.0.0-rc.1",
"@tauri-apps/plugin-clipboard-manager": "2.0.0-rc.2",
"@tauri-apps/plugin-dialog": "2.0.0-rc.1",
"@tauri-apps/plugin-notification": "2.0.0-rc.1",
"@tauri-apps/plugin-shell": "2.0.0-rc.1",
"@tauri-apps/plugin-store": "2.0.0-rc.1",
"@tauri-apps/api": "^2.0.1",
"@tauri-apps/plugin-autostart": "^2.0.0",
"@tauri-apps/plugin-clipboard-manager": "^2.0.0",
"@tauri-apps/plugin-dialog": "^2.0.0",
"@tauri-apps/plugin-notification": "^2.0.0",
"@tauri-apps/plugin-shell": "^2.0.0",
"@tauri-apps/plugin-store": "^2.0.0",
"pinia": "^2.2.2",
"semver": "^7.6.3",
"vue": "3.5.5"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^2.8.0",
"@tailwindcss/typography": "^0.5.15",
"@tauri-apps/cli": "2.0.0-rc.15",
"@tauri-apps/cli": "^2.0.0",
"@types/node": "^20.16.5",
"@types/semver": "^7.5.8",
"@vitejs/plugin-vue": "^5.1.3",
Expand Down
172 changes: 86 additions & 86 deletions app/main/pnpm-lock.yaml

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

Loading

0 comments on commit ec6a468

Please sign in to comment.