Skip to content

Commit

Permalink
Pake-cli adds the parameter to select the packaging format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tlntin committed Mar 18, 2023
1 parent 03b7192 commit c1be4dc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 79 deletions.
73 changes: 25 additions & 48 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -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": ""
}
}
}

60 changes: 29 additions & 31 deletions src-tauri/tauri.linux.conf.json
Original file line number Diff line number Diff line change
@@ -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"]
}
}
}
}

0 comments on commit c1be4dc

Please sign in to comment.