-
Notifications
You must be signed in to change notification settings - Fork 20
/
schema.json
1387 lines (1387 loc) · 45.8 KB
/
schema.json
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Config",
"description": "The packaging config.",
"type": "object",
"properties": {
"$schema": {
"description": "The JSON schema for the config.\n\nSetting this field has no effect, this just exists so we can parse the JSON correctly when it has `$schema` field set.",
"type": [
"string",
"null"
]
},
"name": {
"description": "The app name, this is just an identifier that could be used to filter which app to package using `--packages` cli arg when there is multiple apps in the workspace or in the same config.\n\nThis field resembles, the `name` field in `Cargo.toml` or `package.json`\n\nIf `unset`, the CLI will try to auto-detect it from `Cargo.toml` or `package.json` otherwise, it will keep it unset.",
"type": [
"string",
"null"
]
},
"enabled": {
"description": "Whether this config is enabled or not. Defaults to `true`.",
"default": true,
"type": "boolean"
},
"productName": {
"description": "The package's product name, for example \"My Awesome App\".",
"default": "",
"type": "string"
},
"version": {
"description": "The package's version.",
"default": "",
"type": "string"
},
"binaries": {
"description": "The binaries to package.",
"default": [],
"type": "array",
"items": {
"$ref": "#/definitions/Binary"
}
},
"identifier": {
"description": "The application identifier in reverse domain name notation (e.g. `com.packager.example`). This string must be unique across applications since it is used in some system configurations. This string must contain only alphanumeric characters (A–Z, a–z, and 0–9), hyphens (-), and periods (.).",
"type": [
"string",
"null"
],
"pattern": "^[a-zA-Z0-9-\\.]*$"
},
"beforePackagingCommand": {
"description": "The command to run before starting to package an application.\n\nThis runs only once.",
"anyOf": [
{
"$ref": "#/definitions/HookCommand"
},
{
"type": "null"
}
]
},
"beforeEachPackageCommand": {
"description": "The command to run before packaging each format for an application.\n\nThis will run multiple times depending on the formats specifed.",
"anyOf": [
{
"$ref": "#/definitions/HookCommand"
},
{
"type": "null"
}
]
},
"logLevel": {
"description": "The logging level.",
"anyOf": [
{
"$ref": "#/definitions/LogLevel"
},
{
"type": "null"
}
]
},
"formats": {
"description": "The packaging formats to create, if not present, [`PackageFormat::platform_default`] is used.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PackageFormat"
}
},
"outDir": {
"description": "The directory where the generated packages will be placed.\n\nIf [`Config::binaries_dir`] is not set, this is also where the [`Config::binaries`] exist.",
"default": "",
"type": "string"
},
"binariesDir": {
"description": "The directory where the [`Config::binaries`] exist.\n\nDefaults to [`Config::out_dir`].",
"default": null,
"type": [
"string",
"null"
]
},
"targetTriple": {
"description": "The target triple we are packaging for.\n\nDefaults to the current OS target triple.",
"type": [
"string",
"null"
]
},
"description": {
"description": "The package's description.",
"type": [
"string",
"null"
]
},
"longDescription": {
"description": "The app's long description.",
"type": [
"string",
"null"
]
},
"homepage": {
"description": "The package's homepage.",
"type": [
"string",
"null"
]
},
"authors": {
"description": "The package's authors.",
"default": null,
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"publisher": {
"description": "The app's publisher. Defaults to the second element in [`Config::identifier`](Config::identifier) string. Currently maps to the Manufacturer property of the Windows Installer.",
"type": [
"string",
"null"
]
},
"licenseFile": {
"description": "A path to the license file.",
"type": [
"string",
"null"
]
},
"copyright": {
"description": "The app's copyright.",
"type": [
"string",
"null"
]
},
"category": {
"description": "The app's category.",
"anyOf": [
{
"$ref": "#/definitions/AppCategory"
},
{
"type": "null"
}
]
},
"icons": {
"description": "The app's icon list. Supports glob patterns.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"fileAssociations": {
"description": "The file associations",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FileAssociation"
}
},
"deepLinkProtocols": {
"description": "Deep-link protocols.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/DeepLinkProtocol"
}
},
"resources": {
"description": "The app's resources to package. This a list of either a glob pattern, path to a file, path to a directory or an object of `src` and `target` paths. In the case of using an object, the `src` could be either a glob pattern, path to a file, path to a directory, and the `target` is a path inside the final resources folder in the installed package.\n\n## Format-specific:\n\n- **[PackageFormat::Nsis] / [PackageFormat::Wix]**: The resources are placed next to the executable in the root of the packager. - **[PackageFormat::Deb]**: The resources are placed in `usr/lib` of the package.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/Resource"
}
},
"externalBinaries": {
"description": "Paths to external binaries to add to the package.\n\nThe path specified should not include `-<target-triple><.exe>` suffix, it will be auto-added when by the packager when reading these paths, so the actual binary name should have the target platform's target triple appended, as well as `.exe` for Windows.\n\nFor example, if you're packaging an external binary called `sqlite3`, the packager expects a binary named `sqlite3-x86_64-unknown-linux-gnu` on linux, and `sqlite3-x86_64-pc-windows-gnu.exe` on windows.\n\nIf you are building a universal binary for MacOS, the packager expects your external binary to also be universal, and named after the target triple, e.g. `sqlite3-universal-apple-darwin`. See <https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary>",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"windows": {
"description": "Windows-specific configuration.",
"anyOf": [
{
"$ref": "#/definitions/WindowsConfig"
},
{
"type": "null"
}
]
},
"macos": {
"description": "MacOS-specific configuration.",
"anyOf": [
{
"$ref": "#/definitions/MacOsConfig"
},
{
"type": "null"
}
]
},
"deb": {
"description": "Debian-specific configuration.",
"anyOf": [
{
"$ref": "#/definitions/DebianConfig"
},
{
"type": "null"
}
]
},
"appimage": {
"description": "AppImage configuration.",
"anyOf": [
{
"$ref": "#/definitions/AppImageConfig"
},
{
"type": "null"
}
]
},
"pacman": {
"description": "Pacman configuration.",
"anyOf": [
{
"$ref": "#/definitions/PacmanConfig"
},
{
"type": "null"
}
]
},
"wix": {
"description": "WiX configuration.",
"anyOf": [
{
"$ref": "#/definitions/WixConfig"
},
{
"type": "null"
}
]
},
"nsis": {
"description": "Nsis configuration.",
"anyOf": [
{
"$ref": "#/definitions/NsisConfig"
},
{
"type": "null"
}
]
},
"dmg": {
"description": "Dmg configuration.",
"anyOf": [
{
"$ref": "#/definitions/DmgConfig"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"definitions": {
"Binary": {
"description": "A binary to package within the final package.",
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"description": "Path to the binary (without `.exe` on Windows). If it's relative, it will be resolved from [`Config::out_dir`].",
"type": "string"
},
"main": {
"description": "Whether this is the main binary or not",
"default": false,
"type": "boolean"
}
},
"additionalProperties": false
},
"HookCommand": {
"description": "Describes a shell command to be executed when a CLI hook is triggered.",
"anyOf": [
{
"description": "Run the given script with the default options.",
"type": "string"
},
{
"description": "Run the given script with custom options.",
"type": "object",
"required": [
"script"
],
"properties": {
"script": {
"description": "The script to execute.",
"type": "string"
},
"dir": {
"description": "The working directory.",
"type": [
"string",
"null"
]
}
}
}
]
},
"LogLevel": {
"description": "An enum representing the available verbosity levels of the logger.",
"oneOf": [
{
"description": "The \"error\" level.\n\nDesignates very serious errors.",
"type": "string",
"enum": [
"error"
]
},
{
"description": "The \"warn\" level.\n\nDesignates hazardous situations.",
"type": "string",
"enum": [
"warn"
]
},
{
"description": "The \"info\" level.\n\nDesignates useful information.",
"type": "string",
"enum": [
"info"
]
},
{
"description": "The \"debug\" level.\n\nDesignates lower priority information.",
"type": "string",
"enum": [
"debug"
]
},
{
"description": "The \"trace\" level.\n\nDesignates very low priority, often extremely verbose, information.",
"type": "string",
"enum": [
"trace"
]
}
]
},
"PackageFormat": {
"description": "Types of supported packages by [`cargo-packager`](https://docs.rs/cargo-packager).",
"oneOf": [
{
"description": "All available package formats for the current platform.\n\nSee [`PackageFormat::platform_all`]",
"type": "string",
"enum": [
"all"
]
},
{
"description": "The default list of package formats for the current platform.\n\nSee [`PackageFormat::platform_default`]",
"type": "string",
"enum": [
"default"
]
},
{
"description": "The macOS application bundle (.app).",
"type": "string",
"enum": [
"app"
]
},
{
"description": "The macOS DMG package (.dmg).",
"type": "string",
"enum": [
"dmg"
]
},
{
"description": "The Microsoft Software Installer (.msi) through WiX Toolset.",
"type": "string",
"enum": [
"wix"
]
},
{
"description": "The NSIS installer (.exe).",
"type": "string",
"enum": [
"nsis"
]
},
{
"description": "The Linux Debian package (.deb).",
"type": "string",
"enum": [
"deb"
]
},
{
"description": "The Linux AppImage package (.AppImage).",
"type": "string",
"enum": [
"appimage"
]
},
{
"description": "The Linux Pacman package (.tar.gz and PKGBUILD)",
"type": "string",
"enum": [
"pacman"
]
}
]
},
"AppCategory": {
"description": "The possible app categories. Corresponds to `LSApplicationCategoryType` on macOS and the GNOME desktop categories on Debian.",
"type": "string",
"enum": [
"Business",
"DeveloperTool",
"Education",
"Entertainment",
"Finance",
"Game",
"ActionGame",
"AdventureGame",
"ArcadeGame",
"BoardGame",
"CardGame",
"CasinoGame",
"DiceGame",
"EducationalGame",
"FamilyGame",
"KidsGame",
"MusicGame",
"PuzzleGame",
"RacingGame",
"RolePlayingGame",
"SimulationGame",
"SportsGame",
"StrategyGame",
"TriviaGame",
"WordGame",
"GraphicsAndDesign",
"HealthcareAndFitness",
"Lifestyle",
"Medical",
"Music",
"News",
"Photography",
"Productivity",
"Reference",
"SocialNetworking",
"Sports",
"Travel",
"Utility",
"Video",
"Weather"
]
},
"FileAssociation": {
"description": "A file association configuration.",
"type": "object",
"required": [
"extensions"
],
"properties": {
"extensions": {
"description": "File extensions to associate with this app. e.g. 'png'",
"type": "array",
"items": {
"type": "string"
}
},
"mimeType": {
"description": "The mime-type e.g. 'image/png' or 'text/plain'. **Linux-only**.",
"type": [
"string",
"null"
]
},
"description": {
"description": "The association description. **Windows-only**. It is displayed on the `Type` column on Windows Explorer.",
"type": [
"string",
"null"
]
},
"name": {
"description": "The name. Maps to `CFBundleTypeName` on macOS. Defaults to the first item in `ext`",
"type": [
"string",
"null"
]
},
"role": {
"description": "The app’s role with respect to the type. Maps to `CFBundleTypeRole` on macOS. Defaults to [`BundleTypeRole::Editor`]",
"default": "editor",
"allOf": [
{
"$ref": "#/definitions/BundleTypeRole"
}
]
}
},
"additionalProperties": false
},
"BundleTypeRole": {
"description": "*macOS-only**. Corresponds to CFBundleTypeRole",
"oneOf": [
{
"description": "CFBundleTypeRole.Editor. Files can be read and edited.",
"type": "string",
"enum": [
"editor"
]
},
{
"description": "CFBundleTypeRole.Viewer. Files can be read.",
"type": "string",
"enum": [
"viewer"
]
},
{
"description": "CFBundleTypeRole.Shell",
"type": "string",
"enum": [
"shell"
]
},
{
"description": "CFBundleTypeRole.QLGenerator",
"type": "string",
"enum": [
"qLGenerator"
]
},
{
"description": "CFBundleTypeRole.None",
"type": "string",
"enum": [
"none"
]
}
]
},
"DeepLinkProtocol": {
"description": "Deep link protocol",
"type": "object",
"required": [
"schemes"
],
"properties": {
"schemes": {
"description": "URL schemes to associate with this app without `://`. For example `my-app`",
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"description": "The protocol name. **macOS-only** and maps to `CFBundleTypeName`. Defaults to `<bundle-id>.<schemes[0]>`",
"type": [
"string",
"null"
]
},
"role": {
"description": "The app's role for these schemes. **macOS-only** and maps to `CFBundleTypeRole`.",
"default": "editor",
"allOf": [
{
"$ref": "#/definitions/BundleTypeRole"
}
]
}
},
"additionalProperties": false
},
"Resource": {
"description": "A path to a resource (with optional glob pattern) or an object of `src` and `target` paths.",
"anyOf": [
{
"description": "Supports glob patterns",
"type": "string"
},
{
"description": "An object descriping the src file or directory and its target location in the final package.",
"type": "object",
"required": [
"src",
"target"
],
"properties": {
"src": {
"description": "The src file or directory, supports glob patterns.",
"type": "string"
},
"target": {
"description": "A relative path from the root of the final package.\n\nIf `src` is a glob, this will always be treated as a directory where all globbed files will be placed under.",
"type": "string"
}
}
}
]
},
"WindowsConfig": {
"description": "The Windows configuration.",
"type": "object",
"properties": {
"digestAlgorithm": {
"description": "The file digest algorithm to use for creating file signatures. Required for code signing. SHA-256 is recommended.",
"type": [
"string",
"null"
]
},
"certificateThumbprint": {
"description": "The SHA1 hash of the signing certificate.",
"type": [
"string",
"null"
]
},
"tsp": {
"description": "Whether to use Time-Stamp Protocol (TSP, a.k.a. RFC 3161) for the timestamp server. Your code signing provider may use a TSP timestamp server, like e.g. SSL.com does. If so, enable TSP by setting to true.",
"default": false,
"type": "boolean"
},
"timestampUrl": {
"description": "Server to use during timestamping.",
"type": [
"string",
"null"
]
},
"allowDowngrades": {
"description": "Whether to validate a second app installation, blocking the user from installing an older version if set to `false`.\n\nFor instance, if `1.2.1` is installed, the user won't be able to install app version `1.2.0` or `1.1.5`.\n\nThe default value of this flag is `true`.",
"default": true,
"type": "boolean"
},
"signCommand": {
"description": "Specify a custom command to sign the binaries. This command needs to have a `%1` in it which is just a placeholder for the binary path, which we will detect and replace before calling the command.\n\nBy Default we use `signtool.exe` which can be found only on Windows so if you are on another platform and want to cross-compile and sign you will need to use another tool like `osslsigncode`.",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"MacOsConfig": {
"description": "The macOS configuration.",
"type": "object",
"properties": {
"frameworks": {
"description": "MacOS frameworks that need to be packaged with the app.\n\nEach string can either be the name of a framework (without the `.framework` extension, e.g. `\"SDL2\"`), in which case we will search for that framework in the standard install locations (`~/Library/Frameworks/`, `/Library/Frameworks/`, and `/Network/Library/Frameworks/`), or a path to a specific framework bundle (e.g. `./data/frameworks/SDL2.framework`). Note that this setting just makes cargo-packager copy the specified frameworks into the OS X app bundle (under `Foobar.app/Contents/Frameworks/`); you are still responsible for:\n\n- arranging for the compiled binary to link against those frameworks (e.g. by emitting lines like `cargo:rustc-link-lib=framework=SDL2` from your `build.rs` script)\n\n- embedding the correct rpath in your binary (e.g. by running `install_name_tool -add_rpath \"@executable_path/../Frameworks\" path/to/binary` after compiling)",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"minimumSystemVersion": {
"description": "A version string indicating the minimum MacOS version that the packaged app supports (e.g. `\"10.11\"`). If you are using this config field, you may also want have your `build.rs` script emit `cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.11`.",
"type": [
"string",
"null"
]
},
"exceptionDomain": {
"description": "The exception domain to use on the macOS .app package.\n\nThis allows communication to the outside world e.g. a web server you're shipping.",
"type": [
"string",
"null"
]
},
"signingIdentity": {
"description": "Code signing identity.\n\nThis is typically of the form: `\"Developer ID Application: TEAM_NAME (TEAM_ID)\"`.",
"type": [
"string",
"null"
]
},
"providerShortName": {
"description": "Provider short name for notarization.",
"type": [
"string",
"null"
]
},
"entitlements": {
"description": "Path to the entitlements.plist file.",
"type": [
"string",
"null"
]
},
"infoPlistPath": {
"description": "Path to the Info.plist file for the package.",
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
},
"DebianConfig": {
"description": "The Linux Debian configuration.",
"type": "object",
"properties": {
"depends": {
"description": "The list of Debian dependencies.",
"anyOf": [
{
"$ref": "#/definitions/Dependencies"
},
{
"type": "null"
}
]
},
"desktopTemplate": {
"description": "Path to a custom desktop file Handlebars template.\n\nAvailable variables: `categories`, `comment` (optional), `exec`, `icon` and `name`.\n\nDefault file contents: ```text [Desktop Entry] Categories={{categories}} {{#if comment}} Comment={{comment}} {{/if}} Exec={{exec}} {{exec_arg}} Icon={{icon}} Name={{name}} Terminal=false Type=Application {{#if mime_type}} MimeType={{mime_type}} {{/if}} ```\n\nThe `{{exec_arg}}` will be set to: * \"%F\", if at least one [Config::file_associations] was specified but no deep link protocols were given. * The \"%F\" arg means that your application can be invoked with multiple file paths. * \"%U\", if at least one [Config::deep_link_protocols] was specified. * The \"%U\" arg means that your application can be invoked with multiple URLs. * If both [Config::file_associations] and [Config::deep_link_protocols] were specified, the \"%U\" arg will be used, causing the file paths to be passed to your app as `file://` URLs. * An empty string \"\" (nothing) if neither are given. * This means that your application will never be invoked with any URLs or file paths.\n\nTo specify a custom `exec_arg`, just use plaintext directly instead of `{{exec_arg}}`: ```text Exec={{exec}} %u ```\n\nSee more here: <https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables>.",
"type": [
"string",
"null"
]
},
"section": {
"description": "Define the section in Debian Control file. See : <https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections>",
"type": [
"string",
"null"
]
},
"priority": {
"description": "Change the priority of the Debian Package. By default, it is set to `optional`. Recognized Priorities as of now are : `required`, `important`, `standard`, `optional`, `extra`",
"type": [
"string",
"null"
]
},
"files": {
"description": "List of custom files to add to the deb package. Maps a dir/file to a dir/file inside the debian package.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false
},
"Dependencies": {
"description": "A list of dependencies specified as either a list of Strings or as a path to a file that lists the dependencies, one per line.",
"anyOf": [
{
"description": "The list of dependencies provided directly as a vector of Strings.",
"type": "array",
"items": {
"type": "string"
}
},
{
"description": "A path to the file containing the list of dependences, formatted as one per line: ```text libc6 libxcursor1 libdbus-1-3 libasyncns0 ... ```",
"type": "string"
}
]
},
"AppImageConfig": {
"description": "The Linux AppImage configuration.",
"type": "object",
"properties": {
"libs": {
"description": "List of libs that exist in `/usr/lib*` to be include in the final AppImage. The libs will be searched for, using the command `find -L /usr/lib* -name <libname>`",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"bins": {
"description": "List of binary paths to include in the final AppImage. For example, if you want `xdg-open`, you'd specify `/usr/bin/xdg-open`",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"files": {
"description": "List of custom files to add to the appimage package. Maps a dir/file to a dir/file inside the appimage package.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"linuxdeployPlugins": {
"description": "A map of [`linuxdeploy`](https://github.com/linuxdeploy/linuxdeploy) plugin name and its URL to be downloaded and executed while packaing the appimage. For example, if you want to use the [`gtk`](https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh) plugin, you'd specify `gtk` as the key and its url as the value.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"excludedLibs": {
"description": "List of globs of libraries to exclude from the final AppImage. For example, to exclude libnss3.so, you'd specify `libnss3*`",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"PacmanConfig": {
"description": "The Linux pacman configuration.",
"type": "object",
"properties": {
"files": {
"description": "List of custom files to add to the pacman package. Maps a dir/file to a dir/file inside the pacman package.",
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"depends": {
"description": "List of softwares that must be installed for the app to build and run.\n\nSee : <https://wiki.archlinux.org/title/PKGBUILD#depends>",
"anyOf": [
{
"$ref": "#/definitions/Dependencies"
},
{
"type": "null"
}
]
},
"provides": {
"description": "Additional packages that are provided by this app.\n\nSee : <https://wiki.archlinux.org/title/PKGBUILD#provides>",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"conflicts": {
"description": "Packages that conflict or cause problems with the app. All these packages and packages providing this item will need to be removed\n\nSee : <https://wiki.archlinux.org/title/PKGBUILD#conflicts>",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"replaces": {
"description": "Only use if this app replaces some obsolete packages. For example, if you rename any package.\n\nSee : <https://wiki.archlinux.org/title/PKGBUILD#replaces>",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"source": {
"description": "Source of the package to be stored at PKGBUILD. PKGBUILD is a bash script, so version can be referred as ${pkgver}",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"additionalProperties": false
},
"WixConfig": {
"description": "The wix format configuration",
"type": "object",
"properties": {
"languages": {
"description": "The app languages to build. See <https://docs.microsoft.com/en-us/windows/win32/msi/localizing-the-error-and-actiontext-tables>.",
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/WixLanguage"
}
},
"template": {
"description": "By default, the packager uses an internal template. This option allows you to define your own wix file.",
"type": [
"string",
"null"
]
},
"mergeModules": {
"description": "List of merge modules to include in your installer. For example, if you want to include [C++ Redis merge modules]\n\n[C++ Redis merge modules]: https://wixtoolset.org/docs/v3/howtos/redistributables_and_install_checks/install_vcredist/",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"fragmentPaths": {
"description": "A list of paths to .wxs files with WiX fragments to use.",
"type": [
"array",
"null"
],
"items": {