Pake-cli adds the parameter to select the packaging format.

This commit is contained in:
Tlntin
2023-03-18 11:28:16 +08:00
parent 3edfa892d1
commit 214178da7a
2 changed files with 54 additions and 79 deletions

View File

@@ -1,54 +1,31 @@
{
"package": {
"productName": "baidu",
"version": "1.0.0"
"productName": "WeRead",
"version": "1.0.0"
},
"tauri": {
"windows": [
{
"url": "https://www.baidu.com",
"transparent": false,
"fullscreen": false,
"width": 1200,
"height": 780,
"resizable": true
}
],
"security": {
"csp": null
},
"updater": {
"active": false
},
"bundle": {
"icon": [
"/home/tlntin/data/code/rust_study/pake-tw93/Pake/src-tauri/png/icon_512.png"
],
"identifier": "pake-f9751d",
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": [
"libwebkit2gtk-4.0-dev",
"build-essential",
"curl",
"wget",
"libssl-dev",
"libgtk-3-dev",
"libayatana-appindicator3-dev",
"librsvg2-dev",
"gnome-video-effects",
"gnome-video-effects-extra"
]
},
"externalBin": [],
"longDescription": "",
"resources": [],
"shortDescription": "",
"targets": [
"deb"
]
"windows": [
{
"url": "https://weread.qq.com/",
"transparent": true,
"fullscreen": false,
"width": 1200,
"height": 780,
"resizable": true
}
],
"security": {
"csp": null
},
"updater": {
"active": false
}
},
"build": {
"devPath": "../dist",
"distDir": "../dist",
"beforeBuildCommand": "",
"beforeDevCommand": ""
}
}
}

View File

@@ -1,34 +1,32 @@
{
"tauri": {
"bundle": {
"icon": [
"/home/tlntin/data/code/rust_study/pake-tw93/Pake/src-tauri/png/icon_512.png"
],
"identifier": "pake-f9751d",
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": [
"libwebkit2gtk-4.0-dev",
"build-essential",
"curl",
"wget",
"libssl-dev",
"libgtk-3-dev",
"libayatana-appindicator3-dev",
"librsvg2-dev",
"gnome-video-effects",
"gnome-video-effects-extra"
]
},
"externalBin": [],
"longDescription": "",
"resources": [],
"shortDescription": "",
"targets": [
"deb"
]
}
"bundle": {
"icon": ["png/weread_512.png"],
"identifier": "com.tw93.weread",
"active": true,
"category": "DeveloperTool",
"copyright": "",
"deb": {
"depends": [
"libwebkit2gtk-4.0-dev",
"build-essential",
"curl",
"wget",
"libssl-dev",
"libgtk-3-dev",
"libayatana-appindicator3-dev",
"librsvg2-dev",
"gnome-video-effects",
"gnome-video-effects-extra"
],
"files": {"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"}
},
"externalBin": [],
"longDescription": "",
"resources": [],
"shortDescription": "",
"targets": ["deb", "appimage"]
}
}
}
}