pake-cli 3.8.6 โ 3.9.0
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/dist/cli.js +3 -3
- package/dist/test-local.html +1 -0
- package/package.json +3 -3
- package/src-tauri/.cargo/config.toml +10 -0
- package/src-tauri/.pake/pake.json +43 -0
- package/src-tauri/.pake/tauri.conf.json +44 -0
- package/src-tauri/.pake/tauri.linux.conf.json +12 -0
- package/src-tauri/.pake/tauri.macos.conf.json +30 -0
- package/src-tauri/.pake/tauri.windows.conf.json +15 -0
- package/src-tauri/Cargo.lock +337 -157
- package/src-tauri/Cargo.toml +1 -1
- package/src-tauri/assets/macos/dmg/background.png +0 -0
- package/src-tauri/src/lib.rs +2 -3
- package/src-tauri/tauri.macos.conf.json +17 -1
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import * as psl from 'psl';
|
|
|
22
22
|
import { InvalidArgumentError, program as program$1, Option } from 'commander';
|
|
23
23
|
|
|
24
24
|
var name = "pake-cli";
|
|
25
|
-
var version = "3.
|
|
25
|
+
var version = "3.9.0";
|
|
26
26
|
var description = "๐คฑ๐ป Turn any webpage into a desktop app with one command. ๐คฑ๐ป ไธ้ฎๆๅ
็ฝ้กต็ๆ่ฝป้ๆก้ขๅบ็จใ";
|
|
27
27
|
var engines = {
|
|
28
28
|
node: ">=18.0.0"
|
|
@@ -94,7 +94,7 @@ var devDependencies = {
|
|
|
94
94
|
"@rollup/plugin-replace": "^6.0.3",
|
|
95
95
|
"@rollup/plugin-terser": "^0.4.4",
|
|
96
96
|
"@types/fs-extra": "^11.0.4",
|
|
97
|
-
"@types/node": "^25.
|
|
97
|
+
"@types/node": "^25.3.0",
|
|
98
98
|
"@types/page-icon": "^0.3.6",
|
|
99
99
|
"@types/prompts": "^2.4.9",
|
|
100
100
|
"@types/tmp": "^0.2.6",
|
|
@@ -102,7 +102,7 @@ var devDependencies = {
|
|
|
102
102
|
"app-root-path": "^3.1.0",
|
|
103
103
|
"cross-env": "^10.1.0",
|
|
104
104
|
prettier: "^3.8.1",
|
|
105
|
-
rollup: "^4.
|
|
105
|
+
rollup: "^4.58.0",
|
|
106
106
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
107
107
|
tslib: "^2.8.1",
|
|
108
108
|
typescript: "^5.9.3",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<html><body><h1>Hello Pake</h1></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pake-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "๐คฑ๐ป Turn any webpage into a desktop app with one command. ๐คฑ๐ป ไธ้ฎๆๅ
็ฝ้กต็ๆ่ฝป้ๆก้ขๅบ็จใ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@rollup/plugin-replace": "^6.0.3",
|
|
73
73
|
"@rollup/plugin-terser": "^0.4.4",
|
|
74
74
|
"@types/fs-extra": "^11.0.4",
|
|
75
|
-
"@types/node": "^25.
|
|
75
|
+
"@types/node": "^25.3.0",
|
|
76
76
|
"@types/page-icon": "^0.3.6",
|
|
77
77
|
"@types/prompts": "^2.4.9",
|
|
78
78
|
"@types/tmp": "^0.2.6",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"app-root-path": "^3.1.0",
|
|
81
81
|
"cross-env": "^10.1.0",
|
|
82
82
|
"prettier": "^3.8.1",
|
|
83
|
-
"rollup": "^4.
|
|
83
|
+
"rollup": "^4.58.0",
|
|
84
84
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
85
85
|
"tslib": "^2.8.1",
|
|
86
86
|
"typescript": "^5.9.3",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[source.crates-io]
|
|
2
|
+
replace-with = 'rsproxy-sparse'
|
|
3
|
+
[source.rsproxy]
|
|
4
|
+
registry = "https://rsproxy.cn/crates.io-index"
|
|
5
|
+
[source.rsproxy-sparse]
|
|
6
|
+
registry = "sparse+https://rsproxy.cn/index/"
|
|
7
|
+
[registries.rsproxy]
|
|
8
|
+
index = "https://rsproxy.cn/crates.io-index"
|
|
9
|
+
[net]
|
|
10
|
+
git-fetch-with-cli = true
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"windows": [
|
|
3
|
+
{
|
|
4
|
+
"url": "https://twitter.com/",
|
|
5
|
+
"url_type": "web",
|
|
6
|
+
"hide_title_bar": false,
|
|
7
|
+
"fullscreen": false,
|
|
8
|
+
"width": 1200,
|
|
9
|
+
"height": 780,
|
|
10
|
+
"resizable": true,
|
|
11
|
+
"always_on_top": false,
|
|
12
|
+
"dark_mode": false,
|
|
13
|
+
"activation_shortcut": "",
|
|
14
|
+
"disabled_web_shortcuts": false,
|
|
15
|
+
"hide_on_close": true,
|
|
16
|
+
"incognito": false,
|
|
17
|
+
"enable_wasm": false,
|
|
18
|
+
"enable_drag_drop": false,
|
|
19
|
+
"maximize": false,
|
|
20
|
+
"start_to_tray": false,
|
|
21
|
+
"force_internal_navigation": false,
|
|
22
|
+
"new_window": false,
|
|
23
|
+
"zoom": 100,
|
|
24
|
+
"min_width": 0,
|
|
25
|
+
"min_height": 0,
|
|
26
|
+
"ignore_certificate_errors": false
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"user_agent": {
|
|
30
|
+
"macos": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15",
|
|
31
|
+
"linux": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36",
|
|
32
|
+
"windows": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"
|
|
33
|
+
},
|
|
34
|
+
"system_tray": {
|
|
35
|
+
"macos": false,
|
|
36
|
+
"linux": true,
|
|
37
|
+
"windows": true
|
|
38
|
+
},
|
|
39
|
+
"system_tray_path": "png/icon_512.png",
|
|
40
|
+
"inject": [],
|
|
41
|
+
"proxy_url": "",
|
|
42
|
+
"multi_instance": false
|
|
43
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"productName": "twitter",
|
|
3
|
+
"identifier": "com.pake.4fd9c9",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"app": {
|
|
6
|
+
"withGlobalTauri": true,
|
|
7
|
+
"security": {
|
|
8
|
+
"headers": {},
|
|
9
|
+
"csp": null
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"build": {
|
|
13
|
+
"frontendDist": "../dist"
|
|
14
|
+
},
|
|
15
|
+
"bundle": {
|
|
16
|
+
"icon": [
|
|
17
|
+
"icons/icon.icns"
|
|
18
|
+
],
|
|
19
|
+
"active": true,
|
|
20
|
+
"targets": [
|
|
21
|
+
"app"
|
|
22
|
+
],
|
|
23
|
+
"macOS": {
|
|
24
|
+
"signingIdentity": "-",
|
|
25
|
+
"hardenedRuntime": true,
|
|
26
|
+
"dmg": {
|
|
27
|
+
"background": "assets/macos/dmg/background.png",
|
|
28
|
+
"windowSize": {
|
|
29
|
+
"width": 680,
|
|
30
|
+
"height": 420
|
|
31
|
+
},
|
|
32
|
+
"appPosition": {
|
|
33
|
+
"x": 190,
|
|
34
|
+
"y": 250
|
|
35
|
+
},
|
|
36
|
+
"applicationFolderPosition": {
|
|
37
|
+
"x": 500,
|
|
38
|
+
"y": 250
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"mainBinaryName": "pake-twitter"
|
|
44
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundle": {
|
|
3
|
+
"icon": [
|
|
4
|
+
"icons/icon.icns"
|
|
5
|
+
],
|
|
6
|
+
"active": true,
|
|
7
|
+
"targets": [
|
|
8
|
+
"app"
|
|
9
|
+
],
|
|
10
|
+
"macOS": {
|
|
11
|
+
"signingIdentity": "-",
|
|
12
|
+
"hardenedRuntime": true,
|
|
13
|
+
"dmg": {
|
|
14
|
+
"background": "assets/macos/dmg/background.png",
|
|
15
|
+
"windowSize": {
|
|
16
|
+
"width": 680,
|
|
17
|
+
"height": 420
|
|
18
|
+
},
|
|
19
|
+
"appPosition": {
|
|
20
|
+
"x": 190,
|
|
21
|
+
"y": 250
|
|
22
|
+
},
|
|
23
|
+
"applicationFolderPosition": {
|
|
24
|
+
"x": 500,
|
|
25
|
+
"y": 250
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bundle": {
|
|
3
|
+
"icon": ["png/weekly_256.ico", "png/weekly_32.ico"],
|
|
4
|
+
"active": true,
|
|
5
|
+
"resources": ["png/weekly_32.ico"],
|
|
6
|
+
"targets": ["msi"],
|
|
7
|
+
"windows": {
|
|
8
|
+
"digestAlgorithm": "sha256",
|
|
9
|
+
"wix": {
|
|
10
|
+
"language": ["en-US"],
|
|
11
|
+
"template": "assets/main.wxs"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|