update tauri to newer version

This commit is contained in:
code002lover 2024-02-18 18:45:16 +01:00
parent f332bca033
commit a1559e3a2c
4 changed files with 1320 additions and 737 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
*_backup *_backup
*ignore* *ignore*
msi/ msi/
/src-tauri/gen/

1961
src-tauri/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -9,12 +9,12 @@ repository = "https://git.ipost.rocks/Code002Lover/IPass-GUI"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies] [build-dependencies]
tauri-build = { version = "2.0.0-alpha.8", features = [] } tauri-build = { version = "2.0.0-beta.1", features = [] }
[dependencies] [dependencies]
serde_json = "1.0" serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
tauri = { version = "2.0.0-alpha.12", features = [] } tauri = { version = "2.0.0-beta.2", features = [] }
ip_lib = { path = "../library/" } ip_lib = { path = "../library/" }
rand="0.8.5" rand="0.8.5"
open="5.0.0" open="5.0.0"

View File

@ -2,28 +2,19 @@
"build": { "build": {
"beforeDevCommand": "", "beforeDevCommand": "",
"beforeBuildCommand": "", "beforeBuildCommand": "",
"devPath": "../src", "frontendDist": "../src"
"distDir": "../src",
"withGlobalTauri": true
}, },
"package": {
"productName": "ipass", "productName": "ipass",
"version": "1.0.0" "version": "1.0.0",
},
"tauri": {
"bundle": { "bundle": {
"active": true, "active": true,
"category": "DeveloperTool", "category": "DeveloperTool",
"copyright": "", "copyright": "",
"deb": {
"depends": []
},
"externalBin": [], "externalBin": [],
"icon": [ "icon": [
"icons/icon.ico", "icons/icon.ico",
"icons/icon.png" "icons/icon.png"
], ],
"identifier": "rocks.ipost.ipass",
"longDescription": "", "longDescription": "",
"macOS": { "macOS": {
"entitlements": null, "entitlements": null,
@ -41,18 +32,14 @@
"timestampUrl": "" "timestampUrl": ""
} }
}, },
"security": { "app": {
"csp": null "windows": [{
},
"windows": [
{
"fullscreen": false, "fullscreen": false,
"height": 600, "height": 600,
"resizable": true, "resizable": true,
"title": "IPass", "title": "IPass",
"width": 880, "width": 880,
"theme": "Dark" "theme": "Dark"
} }]
]
} }
} }