Skip to content

Commit cea17ec

Browse files
committed
🔥 Simplify config parameters
1 parent bc747f1 commit cea17ec

File tree

7 files changed

+95
-40
lines changed

7 files changed

+95
-40
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"dependencies": {
5050
"@tauri-apps/api": "^1.6.0",
5151
"@tauri-apps/cli": "^2.1.0",
52-
"axios": "^1.7.8",
52+
"axios": "^1.7.9",
5353
"chalk": "^5.3.0",
5454
"commander": "^11.1.0",
5555
"file-type": "^18.7.0",
@@ -71,7 +71,7 @@
7171
"@rollup/plugin-terser": "^0.4.4",
7272
"@types/fs-extra": "^11.0.4",
7373
"@types/is-url": "^1.2.32",
74-
"@types/node": "^20.17.9",
74+
"@types/node": "^20.17.10",
7575
"@types/page-icon": "^0.3.6",
7676
"@types/prompts": "^2.4.9",
7777
"@types/psl": "^1.1.3",
@@ -80,7 +80,7 @@
8080
"@types/update-notifier": "^6.0.8",
8181
"app-root-path": "^3.1.0",
8282
"cross-env": "^7.0.3",
83-
"rollup": "^4.28.0",
83+
"rollup": "^4.28.1",
8484
"rollup-plugin-typescript2": "^0.36.0",
8585
"tslib": "^2.8.1",
8686
"typescript": "^5.7.2"

src-tauri/Cargo.lock

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ tauri-plugin-global-shortcut = { version = "2.2.0" }
2929
tauri-plugin-shell = "2.2.0"
3030
tokio = { version = "1", features = ["full"] }
3131

32+
[dev-dependencies]
33+
cargo-bloat = "0.12.1"
34+
3235
[features]
3336
# this feature is used for development builds from development cli
3437
cli-build = []

src-tauri/tauri.conf.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
{
22
"productName": "WeRead",
33
"identifier": "com.pake.weread",
4-
"version": "2.0.0",
5-
"plugins": {},
4+
"version": "1.0.0",
65
"app": {
7-
"security": {
8-
"csp": null
9-
},
6+
"withGlobalTauri": true,
107
"trayIcon": {
118
"iconPath": "png/weread_512.png",
129
"iconAsTemplate": false,
1310
"id": "pake-tray"
14-
},
15-
"withGlobalTauri": true
11+
}
1612
},
1713
"build": {
18-
"beforeBuildCommand": "",
19-
"frontendDist": "../dist",
20-
"beforeDevCommand": ""
14+
"frontendDist": "../dist"
2115
}
2216
}

src-tauri/tauri.linux.conf.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
{
2-
"productName": "weread",
2+
"productName": "we-read",
33
"bundle": {
44
"icon": ["png/weread_512.png"],
55
"active": true,
6-
"category": "DeveloperTool",
7-
"copyright": "",
86
"linux": {
97
"deb": {
108
"depends": ["curl", "wget"],
119
"files": { "/usr/share/applications/com-pake-weread.desktop": "assets/com-pake-weread.desktop" }
1210
}
1311
},
14-
"externalBin": [],
15-
"longDescription": "",
16-
"resources": [],
17-
"shortDescription": "",
1812
"targets": ["deb", "appimage"]
1913
}
2014
}

src-tauri/tauri.macos.conf.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,7 @@
22
"bundle": {
33
"icon": ["icons/weread.icns"],
44
"active": true,
5-
"category": "DeveloperTool",
6-
"copyright": "",
7-
"externalBin": [],
8-
"longDescription": "",
9-
"macOS": {
10-
"entitlements": null,
11-
"exceptionDomain": null,
12-
"frameworks": [],
13-
"providerShortName": null,
14-
"signingIdentity": null
15-
},
16-
"resources": [],
17-
"shortDescription": "",
5+
"macOS": {},
186
"targets": ["dmg"]
197
}
208
}

src-tauri/tauri.windows.conf.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
"bundle": {
33
"icon": ["png/weread_256.ico", "png/weread_32.ico"],
44
"active": true,
5-
"category": "DeveloperTool",
6-
"copyright": "",
7-
"externalBin": [],
8-
"longDescription": "",
95
"resources": ["png/weread_32.ico"],
10-
"shortDescription": "",
116
"targets": ["msi"],
127
"windows": {
13-
"certificateThumbprint": null,
148
"digestAlgorithm": "sha256",
15-
"timestampUrl": "",
169
"wix": {
1710
"language": ["en-US"],
1811
"template": "assets/main.wxs"

0 commit comments

Comments
 (0)