pake-cli 3.0.1 → 3.0.2
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 +41 -26
- package/dist/cli.js +4 -4
- package/package.json +3 -3
- package/src-tauri/Cargo.lock +516 -4
- package/src-tauri/Cargo.toml +2 -1
- package/src-tauri/gen/schemas/windows-schema.json +2326 -0
- package/src-tauri/src/lib.rs +6 -11
package/README.md
CHANGED
|
@@ -220,6 +220,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
220
220
|
<sub><b>Pan93412</b></sub>
|
|
221
221
|
</a>
|
|
222
222
|
</td>
|
|
223
|
+
<td align="center">
|
|
224
|
+
<a href="https://github.com/stone-w4tch3r">
|
|
225
|
+
<img src="https://avatars.githubusercontent.com/u/100294019?v=4" width="90;" alt="stone-w4tch3r"/>
|
|
226
|
+
<br />
|
|
227
|
+
<sub><b>Данил Бизимов</b></sub>
|
|
228
|
+
</a>
|
|
229
|
+
</td>
|
|
223
230
|
<td align="center">
|
|
224
231
|
<a href="https://github.com/wanghanzhen">
|
|
225
232
|
<img src="https://avatars.githubusercontent.com/u/25301012?v=4" width="90;" alt="wanghanzhen"/>
|
|
@@ -233,15 +240,15 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
233
240
|
<br />
|
|
234
241
|
<sub><b>Bryan Lee</b></sub>
|
|
235
242
|
</a>
|
|
236
|
-
</td>
|
|
243
|
+
</td></tr>
|
|
244
|
+
<tr>
|
|
237
245
|
<td align="center">
|
|
238
246
|
<a href="https://github.com/essesoul">
|
|
239
247
|
<img src="https://avatars.githubusercontent.com/u/58624474?v=4" width="90;" alt="essesoul"/>
|
|
240
248
|
<br />
|
|
241
249
|
<sub><b>Essesoul</b></sub>
|
|
242
250
|
</a>
|
|
243
|
-
</td
|
|
244
|
-
<tr>
|
|
251
|
+
</td>
|
|
245
252
|
<td align="center">
|
|
246
253
|
<a href="https://github.com/YangguangZhou">
|
|
247
254
|
<img src="https://avatars.githubusercontent.com/u/61733195?v=4" width="90;" alt="YangguangZhou"/>
|
|
@@ -277,6 +284,14 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
277
284
|
<sub><b>Ikko Eltociear Ashimine</b></sub>
|
|
278
285
|
</a>
|
|
279
286
|
</td>
|
|
287
|
+
<td align="center">
|
|
288
|
+
<a href="https://github.com/mattbajorek">
|
|
289
|
+
<img src="https://avatars.githubusercontent.com/u/17235301?v=4" width="90;" alt="mattbajorek"/>
|
|
290
|
+
<br />
|
|
291
|
+
<sub><b>Matt Bajorek</b></sub>
|
|
292
|
+
</a>
|
|
293
|
+
</td></tr>
|
|
294
|
+
<tr>
|
|
280
295
|
<td align="center">
|
|
281
296
|
<a href="https://github.com/QingZ11">
|
|
282
297
|
<img src="https://avatars.githubusercontent.com/u/38887077?v=4" width="90;" alt="QingZ11"/>
|
|
@@ -284,14 +299,27 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
284
299
|
<sub><b>Steam</b></sub>
|
|
285
300
|
</a>
|
|
286
301
|
</td>
|
|
302
|
+
<td align="center">
|
|
303
|
+
<a href="https://github.com/Tianj0o">
|
|
304
|
+
<img src="https://avatars.githubusercontent.com/u/68584284?v=4" width="90;" alt="Tianj0o"/>
|
|
305
|
+
<br />
|
|
306
|
+
<sub><b>Qitianjia</b></sub>
|
|
307
|
+
</a>
|
|
308
|
+
</td>
|
|
309
|
+
<td align="center">
|
|
310
|
+
<a href="https://github.com/xinyii">
|
|
311
|
+
<img src="https://avatars.githubusercontent.com/u/17895104?v=4" width="90;" alt="xinyii"/>
|
|
312
|
+
<br />
|
|
313
|
+
<sub><b>Yi Xin</b></sub>
|
|
314
|
+
</a>
|
|
315
|
+
</td>
|
|
287
316
|
<td align="center">
|
|
288
317
|
<a href="https://github.com/exposir">
|
|
289
318
|
<img src="https://avatars.githubusercontent.com/u/33340988?v=4" width="90;" alt="exposir"/>
|
|
290
319
|
<br />
|
|
291
320
|
<sub><b>孟世博</b></sub>
|
|
292
321
|
</a>
|
|
293
|
-
</td
|
|
294
|
-
<tr>
|
|
322
|
+
</td>
|
|
295
323
|
<td align="center">
|
|
296
324
|
<a href="https://github.com/2nthony">
|
|
297
325
|
<img src="https://avatars.githubusercontent.com/u/19513289?v=4" width="90;" alt="2nthony"/>
|
|
@@ -312,7 +340,8 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
312
340
|
<br />
|
|
313
341
|
<sub><b>Abu Taher Siddik</b></sub>
|
|
314
342
|
</a>
|
|
315
|
-
</td>
|
|
343
|
+
</td></tr>
|
|
344
|
+
<tr>
|
|
316
345
|
<td align="center">
|
|
317
346
|
<a href="https://github.com/kidylee">
|
|
318
347
|
<img src="https://avatars.githubusercontent.com/u/841310?v=4" width="90;" alt="kidylee"/>
|
|
@@ -340,8 +369,7 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
340
369
|
<br />
|
|
341
370
|
<sub><b>Fechin</b></sub>
|
|
342
371
|
</a>
|
|
343
|
-
</td
|
|
344
|
-
<tr>
|
|
372
|
+
</td>
|
|
345
373
|
<td align="center">
|
|
346
374
|
<a href="https://github.com/ImgBotApp">
|
|
347
375
|
<img src="https://avatars.githubusercontent.com/u/31427850?v=4" width="90;" alt="ImgBotApp"/>
|
|
@@ -356,20 +384,14 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
356
384
|
<sub><b>Jiaqi Gu</b></sub>
|
|
357
385
|
</a>
|
|
358
386
|
</td>
|
|
359
|
-
<td align="center">
|
|
360
|
-
<a href="https://github.com/mattbajorek">
|
|
361
|
-
<img src="https://avatars.githubusercontent.com/u/17235301?v=4" width="90;" alt="mattbajorek"/>
|
|
362
|
-
<br />
|
|
363
|
-
<sub><b>Matt Bajorek</b></sub>
|
|
364
|
-
</a>
|
|
365
|
-
</td>
|
|
366
387
|
<td align="center">
|
|
367
388
|
<a href="https://github.com/Milo123459">
|
|
368
389
|
<img src="https://avatars.githubusercontent.com/u/50248166?v=4" width="90;" alt="Milo123459"/>
|
|
369
390
|
<br />
|
|
370
391
|
<sub><b>Milo</b></sub>
|
|
371
392
|
</a>
|
|
372
|
-
</td>
|
|
393
|
+
</td></tr>
|
|
394
|
+
<tr>
|
|
373
395
|
<td align="center">
|
|
374
396
|
<a href="https://github.com/princemaple">
|
|
375
397
|
<img src="https://avatars.githubusercontent.com/u/1329716?v=4" width="90;" alt="princemaple"/>
|
|
@@ -377,21 +399,13 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
377
399
|
<sub><b>Po Chen</b></sub>
|
|
378
400
|
</a>
|
|
379
401
|
</td>
|
|
380
|
-
<td align="center">
|
|
381
|
-
<a href="https://github.com/Tianj0o">
|
|
382
|
-
<img src="https://avatars.githubusercontent.com/u/68584284?v=4" width="90;" alt="Tianj0o"/>
|
|
383
|
-
<br />
|
|
384
|
-
<sub><b>Qitianjia</b></sub>
|
|
385
|
-
</a>
|
|
386
|
-
</td>
|
|
387
402
|
<td align="center">
|
|
388
403
|
<a href="https://github.com/geekvest">
|
|
389
404
|
<img src="https://avatars.githubusercontent.com/u/126322776?v=4" width="90;" alt="geekvest"/>
|
|
390
405
|
<br />
|
|
391
406
|
<sub><b>Null</b></sub>
|
|
392
407
|
</a>
|
|
393
|
-
</td
|
|
394
|
-
<tr>
|
|
408
|
+
</td>
|
|
395
409
|
<td align="center">
|
|
396
410
|
<a href="https://github.com/houhoz">
|
|
397
411
|
<img src="https://avatars.githubusercontent.com/u/19684376?v=4" width="90;" alt="houhoz"/>
|
|
@@ -426,7 +440,8 @@ Pake's development can not be without these Hackers. They contributed a lot of c
|
|
|
426
440
|
<br />
|
|
427
441
|
<sub><b>Ranger</b></sub>
|
|
428
442
|
</a>
|
|
429
|
-
</td>
|
|
443
|
+
</td></tr>
|
|
444
|
+
<tr>
|
|
430
445
|
<td align="center">
|
|
431
446
|
<a href="https://github.com/hetz">
|
|
432
447
|
<img src="https://avatars.githubusercontent.com/u/820141?v=4" width="90;" alt="hetz"/>
|
package/dist/cli.js
CHANGED
|
@@ -20,7 +20,7 @@ import * as psl from 'psl';
|
|
|
20
20
|
import isUrl from 'is-url';
|
|
21
21
|
|
|
22
22
|
var name = "pake-cli";
|
|
23
|
-
var version$1 = "3.0.
|
|
23
|
+
var version$1 = "3.0.2";
|
|
24
24
|
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。";
|
|
25
25
|
var engines = {
|
|
26
26
|
node: ">=16.0.0"
|
|
@@ -70,7 +70,7 @@ var dependencies = {
|
|
|
70
70
|
"@tauri-apps/api": "^1.6.0",
|
|
71
71
|
"@tauri-apps/cli": "^2.1.0",
|
|
72
72
|
axios: "^1.7.9",
|
|
73
|
-
chalk: "^5.
|
|
73
|
+
chalk: "^5.4.0",
|
|
74
74
|
commander: "^11.1.0",
|
|
75
75
|
"file-type": "^18.7.0",
|
|
76
76
|
"fs-extra": "^11.2.0",
|
|
@@ -100,7 +100,7 @@ var devDependencies = {
|
|
|
100
100
|
"@types/update-notifier": "^6.0.8",
|
|
101
101
|
"app-root-path": "^3.1.0",
|
|
102
102
|
"cross-env": "^7.0.3",
|
|
103
|
-
rollup: "^4.
|
|
103
|
+
rollup: "^4.29.1",
|
|
104
104
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
105
105
|
tslib: "^2.8.1",
|
|
106
106
|
typescript: "^5.7.2"
|
|
@@ -381,7 +381,7 @@ async function isChinaIP(ip, domain) {
|
|
|
381
381
|
try {
|
|
382
382
|
const delay = await ping(ip);
|
|
383
383
|
logger.debug(`${domain} latency is ${delay} ms`);
|
|
384
|
-
return delay >
|
|
384
|
+
return delay > 1000;
|
|
385
385
|
}
|
|
386
386
|
catch (error) {
|
|
387
387
|
logger.debug(`ping ${domain} failed!`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pake-cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用。",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@tauri-apps/api": "^1.6.0",
|
|
51
51
|
"@tauri-apps/cli": "^2.1.0",
|
|
52
52
|
"axios": "^1.7.9",
|
|
53
|
-
"chalk": "^5.
|
|
53
|
+
"chalk": "^5.4.0",
|
|
54
54
|
"commander": "^11.1.0",
|
|
55
55
|
"file-type": "^18.7.0",
|
|
56
56
|
"fs-extra": "^11.2.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@types/update-notifier": "^6.0.8",
|
|
81
81
|
"app-root-path": "^3.1.0",
|
|
82
82
|
"cross-env": "^7.0.3",
|
|
83
|
-
"rollup": "^4.
|
|
83
|
+
"rollup": "^4.29.1",
|
|
84
84
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
85
85
|
"tslib": "^2.8.1",
|
|
86
86
|
"typescript": "^5.7.2"
|