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,57 +2,44 @@
"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" "bundle": {
"active": true,
"category": "DeveloperTool",
"copyright": "",
"externalBin": [],
"icon": [
"icons/icon.ico",
"icons/icon.png"
],
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
}, },
"tauri": { "app": {
"bundle": { "windows": [{
"active": true, "fullscreen": false,
"category": "DeveloperTool", "height": 600,
"copyright": "", "resizable": true,
"deb": { "title": "IPass",
"depends": [] "width": 880,
}, "theme": "Dark"
"externalBin": [], }]
"icon": [
"icons/icon.ico",
"icons/icon.png"
],
"identifier": "rocks.ipost.ipass",
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"security": {
"csp": null
},
"windows": [
{
"fullscreen": false,
"height": 600,
"resizable": true,
"title": "IPass",
"width": 880,
"theme": "Dark"
}
]
} }
} }