dudu-converter-cli 1.0.9 → 1.0.11
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/package.json +1 -1
- package/release/cli.js +7 -7
- package/release/registry-schema.json +137 -0
- package/release/registry.json +135 -15
- package/web/dist/assets/index-DI-cMeFJ.js +32 -0
- package/web/dist/assets/index-DyxR6sH_.css +1 -0
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-D0N1_kqG.css +0 -1
- package/web/dist/assets/index-crdoK3FU.js +0 -32
|
@@ -141,6 +141,12 @@
|
|
|
141
141
|
},
|
|
142
142
|
"scoop": {
|
|
143
143
|
"$ref": "#/definitions/commandMatrix"
|
|
144
|
+
},
|
|
145
|
+
"portable": {
|
|
146
|
+
"$ref": "#/definitions/portableInstall"
|
|
147
|
+
},
|
|
148
|
+
"installer": {
|
|
149
|
+
"$ref": "#/definitions/installerDownload"
|
|
144
150
|
}
|
|
145
151
|
}
|
|
146
152
|
},
|
|
@@ -184,6 +190,12 @@
|
|
|
184
190
|
},
|
|
185
191
|
"scoop": {
|
|
186
192
|
"$ref": "#/definitions/commandMatrix"
|
|
193
|
+
},
|
|
194
|
+
"portable": {
|
|
195
|
+
"$ref": "#/definitions/portableUninstall"
|
|
196
|
+
},
|
|
197
|
+
"direct": {
|
|
198
|
+
"$ref": "#/definitions/directUninstall"
|
|
187
199
|
}
|
|
188
200
|
}
|
|
189
201
|
}
|
|
@@ -205,6 +217,131 @@
|
|
|
205
217
|
}
|
|
206
218
|
}
|
|
207
219
|
},
|
|
220
|
+
"portableInstall": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"required": [
|
|
223
|
+
"version",
|
|
224
|
+
"sha256",
|
|
225
|
+
"urls",
|
|
226
|
+
"archiveDir",
|
|
227
|
+
"toolDir",
|
|
228
|
+
"binDir"
|
|
229
|
+
],
|
|
230
|
+
"additionalProperties": false,
|
|
231
|
+
"properties": {
|
|
232
|
+
"version": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"minLength": 1
|
|
235
|
+
},
|
|
236
|
+
"sha256": {
|
|
237
|
+
"type": "string",
|
|
238
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
239
|
+
},
|
|
240
|
+
"urls": {
|
|
241
|
+
"type": "array",
|
|
242
|
+
"minItems": 1,
|
|
243
|
+
"items": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"format": "uri"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"archiveDir": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"minLength": 1
|
|
251
|
+
},
|
|
252
|
+
"toolDir": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$"
|
|
255
|
+
},
|
|
256
|
+
"binDir": {
|
|
257
|
+
"type": "string",
|
|
258
|
+
"minLength": 1
|
|
259
|
+
},
|
|
260
|
+
"sizeHint": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"minLength": 1
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"portableUninstall": {
|
|
267
|
+
"type": "object",
|
|
268
|
+
"required": [
|
|
269
|
+
"toolDir"
|
|
270
|
+
],
|
|
271
|
+
"additionalProperties": false,
|
|
272
|
+
"properties": {
|
|
273
|
+
"toolDir": {
|
|
274
|
+
"type": "string",
|
|
275
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"directUninstall": {
|
|
280
|
+
"type": "object",
|
|
281
|
+
"required": [
|
|
282
|
+
"uninstaller",
|
|
283
|
+
"silentArgs"
|
|
284
|
+
],
|
|
285
|
+
"additionalProperties": false,
|
|
286
|
+
"properties": {
|
|
287
|
+
"uninstaller": {
|
|
288
|
+
"type": "string",
|
|
289
|
+
"minLength": 1,
|
|
290
|
+
"pattern": "^[^\\\\/:*?\"<>|]+$"
|
|
291
|
+
},
|
|
292
|
+
"silentArgs": {
|
|
293
|
+
"type": "array",
|
|
294
|
+
"minItems": 1,
|
|
295
|
+
"items": {
|
|
296
|
+
"type": "string"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"installerDownload": {
|
|
302
|
+
"type": "object",
|
|
303
|
+
"required": [
|
|
304
|
+
"version",
|
|
305
|
+
"sha256",
|
|
306
|
+
"urls",
|
|
307
|
+
"kind"
|
|
308
|
+
],
|
|
309
|
+
"additionalProperties": false,
|
|
310
|
+
"properties": {
|
|
311
|
+
"version": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"minLength": 1
|
|
314
|
+
},
|
|
315
|
+
"sha256": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
318
|
+
},
|
|
319
|
+
"urls": {
|
|
320
|
+
"type": "array",
|
|
321
|
+
"minItems": 1,
|
|
322
|
+
"items": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"format": "uri"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"kind": {
|
|
328
|
+
"enum": [
|
|
329
|
+
"exe",
|
|
330
|
+
"msi"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
"silentArgs": {
|
|
334
|
+
"type": "array",
|
|
335
|
+
"items": {
|
|
336
|
+
"type": "string"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"sizeHint": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"minLength": 1
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
208
345
|
"packageCommands": {
|
|
209
346
|
"type": "array",
|
|
210
347
|
"minItems": 1,
|
package/release/registry.json
CHANGED
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"/usr/local/bin/ffmpeg"
|
|
29
29
|
],
|
|
30
30
|
"win32": [
|
|
31
|
+
"%DUDU_HOME%\\tools\\ffmpeg\\bin\\ffmpeg.exe",
|
|
31
32
|
"C:\\Program Files\\ffmpeg\\bin\\ffmpeg.exe",
|
|
32
33
|
"C:\\ffmpeg\\bin\\ffmpeg.exe"
|
|
33
34
|
]
|
|
@@ -67,7 +68,19 @@
|
|
|
67
68
|
"install",
|
|
68
69
|
"ffmpeg"
|
|
69
70
|
]
|
|
70
|
-
]
|
|
71
|
+
],
|
|
72
|
+
"portable": {
|
|
73
|
+
"version": "9.0.2",
|
|
74
|
+
"sha256": "759d0a9831c436a0eb331ad36f236c06cb04aaa0005da46571f0e9d3d9206f6b",
|
|
75
|
+
"urls": [
|
|
76
|
+
"https://ghfast.top/https://github.com/GyanD/codexffmpeg/releases/download/9.0.2/ffmpeg-9.0.2-full_build.zip",
|
|
77
|
+
"https://gh-proxy.com/https://github.com/GyanD/codexffmpeg/releases/download/9.0.2/ffmpeg-9.0.2-full_build.zip"
|
|
78
|
+
],
|
|
79
|
+
"archiveDir": "ffmpeg-9.0.2-full_build",
|
|
80
|
+
"toolDir": "ffmpeg",
|
|
81
|
+
"binDir": "bin",
|
|
82
|
+
"sizeHint": "约 246 MB"
|
|
83
|
+
}
|
|
71
84
|
},
|
|
72
85
|
"fallbackUrl": "https://ffmpeg.org/download.html"
|
|
73
86
|
},
|
|
@@ -105,7 +118,10 @@
|
|
|
105
118
|
"uninstall",
|
|
106
119
|
"ffmpeg"
|
|
107
120
|
]
|
|
108
|
-
]
|
|
121
|
+
],
|
|
122
|
+
"portable": {
|
|
123
|
+
"toolDir": "ffmpeg"
|
|
124
|
+
}
|
|
109
125
|
}
|
|
110
126
|
}
|
|
111
127
|
},
|
|
@@ -172,7 +188,18 @@
|
|
|
172
188
|
"install",
|
|
173
189
|
"imagemagick"
|
|
174
190
|
]
|
|
175
|
-
]
|
|
191
|
+
],
|
|
192
|
+
"installer": {
|
|
193
|
+
"version": "7.1.2-34",
|
|
194
|
+
"sha256": "eb32ded8b605795dfcb08b8cadbeef6732fe2252af933b54b38df586332e1007",
|
|
195
|
+
"urls": [
|
|
196
|
+
"https://ghfast.top/https://github.com/ImageMagick/ImageMagick/releases/download/7.1.2-34/ImageMagick-7.1.2-34-Q16-HDRI-x64-dll.exe",
|
|
197
|
+
"https://gh-proxy.com/https://github.com/ImageMagick/ImageMagick/releases/download/7.1.2-34/ImageMagick-7.1.2-34-Q16-HDRI-x64-dll.exe"
|
|
198
|
+
],
|
|
199
|
+
"kind": "exe",
|
|
200
|
+
"silentArgs": ["/VERYSILENT", "/NORESTART", "/SUPPRESSMSGBOXES"],
|
|
201
|
+
"sizeHint": "约 35 MB"
|
|
202
|
+
}
|
|
176
203
|
},
|
|
177
204
|
"fallbackUrl": "https://imagemagick.org/script/download.php"
|
|
178
205
|
},
|
|
@@ -210,7 +237,11 @@
|
|
|
210
237
|
"uninstall",
|
|
211
238
|
"imagemagick"
|
|
212
239
|
]
|
|
213
|
-
]
|
|
240
|
+
],
|
|
241
|
+
"direct": {
|
|
242
|
+
"uninstaller": "unins000.exe",
|
|
243
|
+
"silentArgs": ["/VERYSILENT", "/NORESTART"]
|
|
244
|
+
}
|
|
214
245
|
}
|
|
215
246
|
}
|
|
216
247
|
},
|
|
@@ -278,7 +309,18 @@
|
|
|
278
309
|
"install",
|
|
279
310
|
"7zip"
|
|
280
311
|
]
|
|
281
|
-
]
|
|
312
|
+
],
|
|
313
|
+
"installer": {
|
|
314
|
+
"version": "26.05",
|
|
315
|
+
"sha256": "fd99e86f57d8f429ef5ed045bf98315af962e2309b0f1ba87a147a44c71647d0",
|
|
316
|
+
"urls": [
|
|
317
|
+
"https://ghfast.top/https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.exe",
|
|
318
|
+
"https://gh-proxy.com/https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.exe"
|
|
319
|
+
],
|
|
320
|
+
"kind": "exe",
|
|
321
|
+
"silentArgs": ["/S"],
|
|
322
|
+
"sizeHint": "约 2 MB"
|
|
323
|
+
}
|
|
282
324
|
},
|
|
283
325
|
"fallbackUrl": "https://www.7-zip.org/download.html"
|
|
284
326
|
},
|
|
@@ -316,7 +358,11 @@
|
|
|
316
358
|
"uninstall",
|
|
317
359
|
"7zip"
|
|
318
360
|
]
|
|
319
|
-
]
|
|
361
|
+
],
|
|
362
|
+
"direct": {
|
|
363
|
+
"uninstaller": "Uninstall.exe",
|
|
364
|
+
"silentArgs": ["/S"]
|
|
365
|
+
}
|
|
320
366
|
}
|
|
321
367
|
}
|
|
322
368
|
},
|
|
@@ -384,7 +430,17 @@
|
|
|
384
430
|
"install",
|
|
385
431
|
"libreoffice"
|
|
386
432
|
]
|
|
387
|
-
]
|
|
433
|
+
],
|
|
434
|
+
"installer": {
|
|
435
|
+
"version": "26.8.2",
|
|
436
|
+
"sha256": "ff4b911403b67ee9e6249f820f9782c44bb32c94fdaa45b0da53a8e419e5307a",
|
|
437
|
+
"urls": [
|
|
438
|
+
"https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/26.8.2/win/x86_64/LibreOffice_26.8.2_Win_x86-64.msi",
|
|
439
|
+
"https://download.documentfoundation.org/libreoffice/stable/26.8.2/win/x86_64/LibreOffice_26.8.2_Win_x86-64.msi"
|
|
440
|
+
],
|
|
441
|
+
"kind": "msi",
|
|
442
|
+
"sizeHint": "约 350 MB"
|
|
443
|
+
}
|
|
388
444
|
},
|
|
389
445
|
"fallbackUrl": "https://www.libreoffice.org/download/download-libreoffice/"
|
|
390
446
|
},
|
|
@@ -449,6 +505,7 @@
|
|
|
449
505
|
"/usr/local/bin/pdftoppm"
|
|
450
506
|
],
|
|
451
507
|
"win32": [
|
|
508
|
+
"%DUDU_HOME%\\tools\\poppler\\Library\\bin\\pdftoppm.exe",
|
|
452
509
|
"C:\\Program Files\\poppler-24.08.0\\Library\\bin\\pdftoppm.exe"
|
|
453
510
|
]
|
|
454
511
|
},
|
|
@@ -487,7 +544,19 @@
|
|
|
487
544
|
"install",
|
|
488
545
|
"poppler"
|
|
489
546
|
]
|
|
490
|
-
]
|
|
547
|
+
],
|
|
548
|
+
"portable": {
|
|
549
|
+
"version": "26.09.0-0",
|
|
550
|
+
"sha256": "7a6f256a0ddf7536182246a5733331bf4677cbcc34f4663774947ad34556c8d0",
|
|
551
|
+
"urls": [
|
|
552
|
+
"https://ghfast.top/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
|
|
553
|
+
"https://gh-proxy.com/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip"
|
|
554
|
+
],
|
|
555
|
+
"archiveDir": "poppler-26.09.0",
|
|
556
|
+
"toolDir": "poppler",
|
|
557
|
+
"binDir": "Library/bin",
|
|
558
|
+
"sizeHint": "约 44 MB"
|
|
559
|
+
}
|
|
491
560
|
},
|
|
492
561
|
"fallbackUrl": "https://poppler.freedesktop.org/"
|
|
493
562
|
},
|
|
@@ -525,7 +594,10 @@
|
|
|
525
594
|
"uninstall",
|
|
526
595
|
"poppler"
|
|
527
596
|
]
|
|
528
|
-
]
|
|
597
|
+
],
|
|
598
|
+
"portable": {
|
|
599
|
+
"toolDir": "poppler"
|
|
600
|
+
}
|
|
529
601
|
}
|
|
530
602
|
}
|
|
531
603
|
},
|
|
@@ -551,6 +623,7 @@
|
|
|
551
623
|
"/usr/local/bin/pdftotext"
|
|
552
624
|
],
|
|
553
625
|
"win32": [
|
|
626
|
+
"%DUDU_HOME%\\tools\\poppler\\Library\\bin\\pdftotext.exe",
|
|
554
627
|
"C:\\Program Files\\poppler-24.08.0\\Library\\bin\\pdftotext.exe"
|
|
555
628
|
]
|
|
556
629
|
},
|
|
@@ -589,7 +662,19 @@
|
|
|
589
662
|
"install",
|
|
590
663
|
"poppler"
|
|
591
664
|
]
|
|
592
|
-
]
|
|
665
|
+
],
|
|
666
|
+
"portable": {
|
|
667
|
+
"version": "26.09.0-0",
|
|
668
|
+
"sha256": "7a6f256a0ddf7536182246a5733331bf4677cbcc34f4663774947ad34556c8d0",
|
|
669
|
+
"urls": [
|
|
670
|
+
"https://ghfast.top/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
|
|
671
|
+
"https://gh-proxy.com/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip"
|
|
672
|
+
],
|
|
673
|
+
"archiveDir": "poppler-26.09.0",
|
|
674
|
+
"toolDir": "poppler",
|
|
675
|
+
"binDir": "Library/bin",
|
|
676
|
+
"sizeHint": "约 44 MB"
|
|
677
|
+
}
|
|
593
678
|
},
|
|
594
679
|
"fallbackUrl": "https://poppler.freedesktop.org/"
|
|
595
680
|
},
|
|
@@ -627,7 +712,10 @@
|
|
|
627
712
|
"uninstall",
|
|
628
713
|
"poppler"
|
|
629
714
|
]
|
|
630
|
-
]
|
|
715
|
+
],
|
|
716
|
+
"portable": {
|
|
717
|
+
"toolDir": "poppler"
|
|
718
|
+
}
|
|
631
719
|
}
|
|
632
720
|
}
|
|
633
721
|
},
|
|
@@ -655,6 +743,7 @@
|
|
|
655
743
|
"/usr/local/bin/qpdf"
|
|
656
744
|
],
|
|
657
745
|
"win32": [
|
|
746
|
+
"%DUDU_HOME%\\tools\\qpdf\\bin\\qpdf.exe",
|
|
658
747
|
"C:\\Program Files\\qpdf\\bin\\qpdf.exe"
|
|
659
748
|
]
|
|
660
749
|
},
|
|
@@ -693,7 +782,19 @@
|
|
|
693
782
|
"install",
|
|
694
783
|
"qpdf"
|
|
695
784
|
]
|
|
696
|
-
]
|
|
785
|
+
],
|
|
786
|
+
"portable": {
|
|
787
|
+
"version": "12.4.2",
|
|
788
|
+
"sha256": "db87077e683630c1217e0e8f9a20a9749d952ab676e881c3689187763a5de25d",
|
|
789
|
+
"urls": [
|
|
790
|
+
"https://ghfast.top/https://github.com/qpdf/qpdf/releases/download/v12.4.2/qpdf-12.4.2-msvc64.zip",
|
|
791
|
+
"https://gh-proxy.com/https://github.com/qpdf/qpdf/releases/download/v12.4.2/qpdf-12.4.2-msvc64.zip"
|
|
792
|
+
],
|
|
793
|
+
"archiveDir": "qpdf-12.4.2-msvc64",
|
|
794
|
+
"toolDir": "qpdf",
|
|
795
|
+
"binDir": "bin",
|
|
796
|
+
"sizeHint": "约 28 MB"
|
|
797
|
+
}
|
|
697
798
|
},
|
|
698
799
|
"fallbackUrl": "https://qpdf.sourceforge.net/"
|
|
699
800
|
},
|
|
@@ -731,7 +832,10 @@
|
|
|
731
832
|
"uninstall",
|
|
732
833
|
"qpdf"
|
|
733
834
|
]
|
|
734
|
-
]
|
|
835
|
+
],
|
|
836
|
+
"portable": {
|
|
837
|
+
"toolDir": "qpdf"
|
|
838
|
+
}
|
|
735
839
|
}
|
|
736
840
|
}
|
|
737
841
|
},
|
|
@@ -757,6 +861,7 @@
|
|
|
757
861
|
"/usr/local/bin/pandoc"
|
|
758
862
|
],
|
|
759
863
|
"win32": [
|
|
864
|
+
"%DUDU_HOME%\\tools\\pandoc\\pandoc.exe",
|
|
760
865
|
"C:\\Program Files\\Pandoc\\pandoc.exe"
|
|
761
866
|
]
|
|
762
867
|
},
|
|
@@ -795,7 +900,19 @@
|
|
|
795
900
|
"install",
|
|
796
901
|
"pandoc"
|
|
797
902
|
]
|
|
798
|
-
]
|
|
903
|
+
],
|
|
904
|
+
"portable": {
|
|
905
|
+
"version": "3.13",
|
|
906
|
+
"sha256": "23e1f2e978a3df80db8bf65c9c59534f41a23140480cfb4f783a882ab7dc6a4e",
|
|
907
|
+
"urls": [
|
|
908
|
+
"https://ghfast.top/https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip",
|
|
909
|
+
"https://gh-proxy.com/https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip"
|
|
910
|
+
],
|
|
911
|
+
"archiveDir": "pandoc-3.13",
|
|
912
|
+
"toolDir": "pandoc",
|
|
913
|
+
"binDir": ".",
|
|
914
|
+
"sizeHint": "约 41 MB"
|
|
915
|
+
}
|
|
799
916
|
},
|
|
800
917
|
"fallbackUrl": "https://pandoc.org/installing.html"
|
|
801
918
|
},
|
|
@@ -833,7 +950,10 @@
|
|
|
833
950
|
"uninstall",
|
|
834
951
|
"pandoc"
|
|
835
952
|
]
|
|
836
|
-
]
|
|
953
|
+
],
|
|
954
|
+
"portable": {
|
|
955
|
+
"toolDir": "pandoc"
|
|
956
|
+
}
|
|
837
957
|
}
|
|
838
958
|
}
|
|
839
959
|
}
|