dudu-converter-cli 1.0.9 → 1.0.10

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.
@@ -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,
@@ -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,20 @@
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
+ "https://github.com/GyanD/codexffmpeg/releases/download/9.0.2/ffmpeg-9.0.2-full_build.zip"
79
+ ],
80
+ "archiveDir": "ffmpeg-9.0.2-full_build",
81
+ "toolDir": "ffmpeg",
82
+ "binDir": "bin",
83
+ "sizeHint": "约 246 MB"
84
+ }
71
85
  },
72
86
  "fallbackUrl": "https://ffmpeg.org/download.html"
73
87
  },
@@ -105,7 +119,10 @@
105
119
  "uninstall",
106
120
  "ffmpeg"
107
121
  ]
108
- ]
122
+ ],
123
+ "portable": {
124
+ "toolDir": "ffmpeg"
125
+ }
109
126
  }
110
127
  }
111
128
  },
@@ -172,7 +189,19 @@
172
189
  "install",
173
190
  "imagemagick"
174
191
  ]
175
- ]
192
+ ],
193
+ "installer": {
194
+ "version": "7.1.2-34",
195
+ "sha256": "eb32ded8b605795dfcb08b8cadbeef6732fe2252af933b54b38df586332e1007",
196
+ "urls": [
197
+ "https://ghfast.top/https://github.com/ImageMagick/ImageMagick/releases/download/7.1.2-34/ImageMagick-7.1.2-34-Q16-HDRI-x64-dll.exe",
198
+ "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",
199
+ "https://github.com/ImageMagick/ImageMagick/releases/download/7.1.2-34/ImageMagick-7.1.2-34-Q16-HDRI-x64-dll.exe"
200
+ ],
201
+ "kind": "exe",
202
+ "silentArgs": ["/VERYSILENT", "/NORESTART", "/SUPPRESSMSGBOXES"],
203
+ "sizeHint": "约 35 MB"
204
+ }
176
205
  },
177
206
  "fallbackUrl": "https://imagemagick.org/script/download.php"
178
207
  },
@@ -210,7 +239,11 @@
210
239
  "uninstall",
211
240
  "imagemagick"
212
241
  ]
213
- ]
242
+ ],
243
+ "direct": {
244
+ "uninstaller": "unins000.exe",
245
+ "silentArgs": ["/VERYSILENT", "/NORESTART"]
246
+ }
214
247
  }
215
248
  }
216
249
  },
@@ -278,7 +311,19 @@
278
311
  "install",
279
312
  "7zip"
280
313
  ]
281
- ]
314
+ ],
315
+ "installer": {
316
+ "version": "26.05",
317
+ "sha256": "fd99e86f57d8f429ef5ed045bf98315af962e2309b0f1ba87a147a44c71647d0",
318
+ "urls": [
319
+ "https://ghfast.top/https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.exe",
320
+ "https://gh-proxy.com/https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.exe",
321
+ "https://github.com/ip7z/7zip/releases/download/26.05/7z2605-x64.exe"
322
+ ],
323
+ "kind": "exe",
324
+ "silentArgs": ["/S"],
325
+ "sizeHint": "约 2 MB"
326
+ }
282
327
  },
283
328
  "fallbackUrl": "https://www.7-zip.org/download.html"
284
329
  },
@@ -316,7 +361,11 @@
316
361
  "uninstall",
317
362
  "7zip"
318
363
  ]
319
- ]
364
+ ],
365
+ "direct": {
366
+ "uninstaller": "Uninstall.exe",
367
+ "silentArgs": ["/S"]
368
+ }
320
369
  }
321
370
  }
322
371
  },
@@ -384,7 +433,17 @@
384
433
  "install",
385
434
  "libreoffice"
386
435
  ]
387
- ]
436
+ ],
437
+ "installer": {
438
+ "version": "26.8.2",
439
+ "sha256": "ff4b911403b67ee9e6249f820f9782c44bb32c94fdaa45b0da53a8e419e5307a",
440
+ "urls": [
441
+ "https://mirrors.ustc.edu.cn/tdf/libreoffice/stable/26.8.2/win/x86_64/LibreOffice_26.8.2_Win_x86-64.msi",
442
+ "https://download.documentfoundation.org/libreoffice/stable/26.8.2/win/x86_64/LibreOffice_26.8.2_Win_x86-64.msi"
443
+ ],
444
+ "kind": "msi",
445
+ "sizeHint": "约 350 MB"
446
+ }
388
447
  },
389
448
  "fallbackUrl": "https://www.libreoffice.org/download/download-libreoffice/"
390
449
  },
@@ -449,6 +508,7 @@
449
508
  "/usr/local/bin/pdftoppm"
450
509
  ],
451
510
  "win32": [
511
+ "%DUDU_HOME%\\tools\\poppler\\Library\\bin\\pdftoppm.exe",
452
512
  "C:\\Program Files\\poppler-24.08.0\\Library\\bin\\pdftoppm.exe"
453
513
  ]
454
514
  },
@@ -487,7 +547,20 @@
487
547
  "install",
488
548
  "poppler"
489
549
  ]
490
- ]
550
+ ],
551
+ "portable": {
552
+ "version": "26.09.0-0",
553
+ "sha256": "7a6f256a0ddf7536182246a5733331bf4677cbcc34f4663774947ad34556c8d0",
554
+ "urls": [
555
+ "https://ghfast.top/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
556
+ "https://gh-proxy.com/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
557
+ "https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip"
558
+ ],
559
+ "archiveDir": "poppler-26.09.0",
560
+ "toolDir": "poppler",
561
+ "binDir": "Library/bin",
562
+ "sizeHint": "约 44 MB"
563
+ }
491
564
  },
492
565
  "fallbackUrl": "https://poppler.freedesktop.org/"
493
566
  },
@@ -525,7 +598,10 @@
525
598
  "uninstall",
526
599
  "poppler"
527
600
  ]
528
- ]
601
+ ],
602
+ "portable": {
603
+ "toolDir": "poppler"
604
+ }
529
605
  }
530
606
  }
531
607
  },
@@ -551,6 +627,7 @@
551
627
  "/usr/local/bin/pdftotext"
552
628
  ],
553
629
  "win32": [
630
+ "%DUDU_HOME%\\tools\\poppler\\Library\\bin\\pdftotext.exe",
554
631
  "C:\\Program Files\\poppler-24.08.0\\Library\\bin\\pdftotext.exe"
555
632
  ]
556
633
  },
@@ -589,7 +666,20 @@
589
666
  "install",
590
667
  "poppler"
591
668
  ]
592
- ]
669
+ ],
670
+ "portable": {
671
+ "version": "26.09.0-0",
672
+ "sha256": "7a6f256a0ddf7536182246a5733331bf4677cbcc34f4663774947ad34556c8d0",
673
+ "urls": [
674
+ "https://ghfast.top/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
675
+ "https://gh-proxy.com/https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip",
676
+ "https://github.com/oschwartz10612/poppler-windows/releases/download/v26.09.0-0/Release-26.09.0-0.zip"
677
+ ],
678
+ "archiveDir": "poppler-26.09.0",
679
+ "toolDir": "poppler",
680
+ "binDir": "Library/bin",
681
+ "sizeHint": "约 44 MB"
682
+ }
593
683
  },
594
684
  "fallbackUrl": "https://poppler.freedesktop.org/"
595
685
  },
@@ -627,7 +717,10 @@
627
717
  "uninstall",
628
718
  "poppler"
629
719
  ]
630
- ]
720
+ ],
721
+ "portable": {
722
+ "toolDir": "poppler"
723
+ }
631
724
  }
632
725
  }
633
726
  },
@@ -655,6 +748,7 @@
655
748
  "/usr/local/bin/qpdf"
656
749
  ],
657
750
  "win32": [
751
+ "%DUDU_HOME%\\tools\\qpdf\\bin\\qpdf.exe",
658
752
  "C:\\Program Files\\qpdf\\bin\\qpdf.exe"
659
753
  ]
660
754
  },
@@ -693,7 +787,20 @@
693
787
  "install",
694
788
  "qpdf"
695
789
  ]
696
- ]
790
+ ],
791
+ "portable": {
792
+ "version": "12.4.2",
793
+ "sha256": "db87077e683630c1217e0e8f9a20a9749d952ab676e881c3689187763a5de25d",
794
+ "urls": [
795
+ "https://ghfast.top/https://github.com/qpdf/qpdf/releases/download/v12.4.2/qpdf-12.4.2-msvc64.zip",
796
+ "https://gh-proxy.com/https://github.com/qpdf/qpdf/releases/download/v12.4.2/qpdf-12.4.2-msvc64.zip",
797
+ "https://github.com/qpdf/qpdf/releases/download/v12.4.2/qpdf-12.4.2-msvc64.zip"
798
+ ],
799
+ "archiveDir": "qpdf-12.4.2-msvc64",
800
+ "toolDir": "qpdf",
801
+ "binDir": "bin",
802
+ "sizeHint": "约 28 MB"
803
+ }
697
804
  },
698
805
  "fallbackUrl": "https://qpdf.sourceforge.net/"
699
806
  },
@@ -731,7 +838,10 @@
731
838
  "uninstall",
732
839
  "qpdf"
733
840
  ]
734
- ]
841
+ ],
842
+ "portable": {
843
+ "toolDir": "qpdf"
844
+ }
735
845
  }
736
846
  }
737
847
  },
@@ -757,6 +867,7 @@
757
867
  "/usr/local/bin/pandoc"
758
868
  ],
759
869
  "win32": [
870
+ "%DUDU_HOME%\\tools\\pandoc\\pandoc.exe",
760
871
  "C:\\Program Files\\Pandoc\\pandoc.exe"
761
872
  ]
762
873
  },
@@ -795,7 +906,20 @@
795
906
  "install",
796
907
  "pandoc"
797
908
  ]
798
- ]
909
+ ],
910
+ "portable": {
911
+ "version": "3.13",
912
+ "sha256": "23e1f2e978a3df80db8bf65c9c59534f41a23140480cfb4f783a882ab7dc6a4e",
913
+ "urls": [
914
+ "https://ghfast.top/https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip",
915
+ "https://gh-proxy.com/https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip",
916
+ "https://github.com/jgm/pandoc/releases/download/3.13/pandoc-3.13-windows-x86_64.zip"
917
+ ],
918
+ "archiveDir": "pandoc-3.13",
919
+ "toolDir": "pandoc",
920
+ "binDir": ".",
921
+ "sizeHint": "约 41 MB"
922
+ }
799
923
  },
800
924
  "fallbackUrl": "https://pandoc.org/installing.html"
801
925
  },
@@ -833,7 +957,10 @@
833
957
  "uninstall",
834
958
  "pandoc"
835
959
  ]
836
- ]
960
+ ],
961
+ "portable": {
962
+ "toolDir": "pandoc"
963
+ }
837
964
  }
838
965
  }
839
966
  }