pake-cli 1.3.0 → 2.0.0-alpha6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -28
- package/dist/about_pake.html +16 -0
- package/dist/cli.js +388 -85
- package/package.json +3 -2
- package/src-tauri/.cargo/cn_config.bak +14 -0
- package/src-tauri/Cargo.lock +1420 -586
- package/src-tauri/Cargo.toml +13 -14
- package/src-tauri/icons/loop.icns +0 -0
- package/src-tauri/pake.json +28 -0
- package/src-tauri/png/loop_256.ico +0 -0
- package/src-tauri/png/loop_32.ico +0 -0
- package/src-tauri/png/loop_512.png +0 -0
- package/src-tauri/src/app/config.rs +63 -0
- package/src-tauri/src/app/invoke.rs +47 -0
- package/src-tauri/src/app/menu.rs +114 -0
- package/src-tauri/src/app/mod.rs +4 -0
- package/src-tauri/src/app/window.rs +49 -0
- package/src-tauri/src/inject/component.js +143 -0
- package/src-tauri/src/inject/event.js +175 -0
- package/src-tauri/src/{pake.js → inject/style.js} +44 -140
- package/src-tauri/src/main.rs +58 -267
- package/src-tauri/src/util.rs +78 -0
- package/src-tauri/tauri.conf.json +26 -29
- package/src-tauri/tauri.linux.conf.json +18 -30
|
@@ -1,31 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"beforeBuildCommand": "",
|
|
28
|
-
"beforeDevCommand": ""
|
|
29
|
-
}
|
|
2
|
+
"package": {
|
|
3
|
+
"productName": "WeRead",
|
|
4
|
+
"version": "1.0.0"
|
|
5
|
+
},
|
|
6
|
+
"tauri": {
|
|
7
|
+
"security": {
|
|
8
|
+
"csp": null
|
|
9
|
+
},
|
|
10
|
+
"updater": {
|
|
11
|
+
"active": false
|
|
12
|
+
},
|
|
13
|
+
"systemTray": {
|
|
14
|
+
"iconPath": "png/weread_512.png",
|
|
15
|
+
"iconAsTemplate": true
|
|
16
|
+
},
|
|
17
|
+
"allowlist": {
|
|
18
|
+
"all": true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"build": {
|
|
22
|
+
"withGlobalTauri": true,
|
|
23
|
+
"devPath": "../dist",
|
|
24
|
+
"distDir": "../dist",
|
|
25
|
+
"beforeBuildCommand": "",
|
|
26
|
+
"beforeDevCommand": ""
|
|
30
27
|
}
|
|
31
|
-
|
|
28
|
+
}
|
|
@@ -1,32 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"gnome-video-effects",
|
|
20
|
-
"gnome-video-effects-extra"
|
|
21
|
-
],
|
|
22
|
-
"files": {"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"}
|
|
23
|
-
},
|
|
24
|
-
"externalBin": [],
|
|
25
|
-
"longDescription": "",
|
|
26
|
-
"resources": [],
|
|
27
|
-
"shortDescription": "",
|
|
28
|
-
"targets": ["deb", "appimage"]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
2
|
+
"tauri": {
|
|
3
|
+
"bundle": {
|
|
4
|
+
"icon": ["png/weread_512.png"],
|
|
5
|
+
"identifier": "com.tw93.weread",
|
|
6
|
+
"active": true,
|
|
7
|
+
"category": "DeveloperTool",
|
|
8
|
+
"copyright": "",
|
|
9
|
+
"deb": {
|
|
10
|
+
"depends": ["curl", "wget"],
|
|
11
|
+
"files": {"/usr/share/applications/com-tw93-weread.desktop": "assets/com-tw93-weread.desktop"}
|
|
12
|
+
},
|
|
13
|
+
"externalBin": [],
|
|
14
|
+
"longDescription": "",
|
|
15
|
+
"resources": [],
|
|
16
|
+
"shortDescription": "",
|
|
17
|
+
"targets": ["deb", "appimage"]
|
|
18
|
+
}
|
|
31
19
|
}
|
|
32
|
-
|
|
20
|
+
}
|