@todesktop/cli 1.11.4 → 1.12.0-1
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 +18 -3
- package/dist/cli.js +6 -1
- package/dist/cli.js.map +2 -2
- package/package.json +1 -1
- package/schemas/schema.json +4 -0
package/README.md
CHANGED
|
@@ -482,7 +482,7 @@ Example:
|
|
|
482
482
|
- `icon` String - macOS and windows. Icon file name without extension. It points
|
|
483
483
|
to ico file for Windows and icns for macOS. For example, if the `icon` value is `"icons/py"` then it will look for both `"icons/py.ico"` and `"icons/py.icns"` in your project directory.
|
|
484
484
|
- `mimeType` String - linux-only. The mime-type.
|
|
485
|
-
- `role` = `Editor` String - macOS-only. The app
|
|
485
|
+
- `role` = `Editor` String - macOS-only. The app's role with respect to the type. The value can be `Editor`, `Viewer`, `Shell`, or `None`. Corresponds to `CFBundleTypeRole`.
|
|
486
486
|
- `isPackage` Boolean - macOS-only. Whether the document is distributed as a bundle. If set to true, the bundle directory is treated as a file. Corresponds to `LSTypeIsPackage`.
|
|
487
487
|
- `rank` = `Default` String macOS-only. Determines how Launch Services ranks this app among the apps that declare themselves editors or viewers of files of this type. The possible values are: `Owner` (this app is the primary creator of files of this type), `Default` (this app is an opener of files of this type; this value is also used if no rank is specified), `Alternate` (this app is a secondary viewer of files of this type), and `None` (this app is never selected to open files of this type, but it accepts drops of files of this type).
|
|
488
488
|
|
|
@@ -600,7 +600,7 @@ The application category type, as shown in the Finder via _View -> Arrange by Ap
|
|
|
600
600
|
|
|
601
601
|
For example, `public.app-category.developer-tools` will set the application category to "Developer Tools".
|
|
602
602
|
|
|
603
|
-
Valid values are listed in [Apple
|
|
603
|
+
Valid values are listed in [Apple's documentation](https://developer.apple.com/library/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW8).
|
|
604
604
|
|
|
605
605
|
#### `mac.entitlements` - (optional) string
|
|
606
606
|
|
|
@@ -824,7 +824,7 @@ Default: `stable`.
|
|
|
824
824
|
|
|
825
825
|
Example: `devel`.
|
|
826
826
|
|
|
827
|
-
The quality grade of the snap. It can be either `devel` (i.e. a development version of the snap, so not to be published to the
|
|
827
|
+
The quality grade of the snap. It can be either `devel` (i.e. a development version of the snap, so not to be published to the "stable" or "candidate" channels) or `stable` (i.e. a stable release or release candidate, which can be released to all channels).
|
|
828
828
|
|
|
829
829
|
#### `snap.layout` - (optional) object
|
|
830
830
|
|
|
@@ -880,6 +880,13 @@ Example: `false`.
|
|
|
880
880
|
|
|
881
881
|
Whether to use a template snap.
|
|
882
882
|
|
|
883
|
+
### `updateUrlBase` - (optional) string
|
|
884
|
+
|
|
885
|
+
Default: ToDesktop's auto-update URL.
|
|
886
|
+
Example: `https://example.com/updates`.
|
|
887
|
+
|
|
888
|
+
The URL to check for updates. You should only set this if you want to use your own self-hosted update server instead of ToDesktop's built-in update service. See https://www.github.com/ToDesktop/self-hosted for more information.
|
|
889
|
+
|
|
883
890
|
### `uploadSizeLimit` - (optional) number
|
|
884
891
|
|
|
885
892
|
Default: `20`.
|
|
@@ -1188,6 +1195,14 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
|
|
|
1188
1195
|
|
|
1189
1196
|
## Changelog
|
|
1190
1197
|
|
|
1198
|
+
### v1.12.0
|
|
1199
|
+
|
|
1200
|
+
- Add support for custom `updateUrlBase` in config to specify a custom auto-update URL
|
|
1201
|
+
|
|
1202
|
+
### v1.11.5
|
|
1203
|
+
|
|
1204
|
+
- The build ID is now logged on the CLI when in CI mode
|
|
1205
|
+
|
|
1191
1206
|
### v1.11.4
|
|
1192
1207
|
|
|
1193
1208
|
- Add support for `beforeBuild` hook.
|
package/dist/cli.js
CHANGED
|
@@ -1634,6 +1634,10 @@ var schema_default = {
|
|
|
1634
1634
|
},
|
|
1635
1635
|
minItems: 1
|
|
1636
1636
|
},
|
|
1637
|
+
updateUrlBase: {
|
|
1638
|
+
type: "string",
|
|
1639
|
+
format: "uri"
|
|
1640
|
+
},
|
|
1637
1641
|
filesForDistribution: {
|
|
1638
1642
|
type: "array",
|
|
1639
1643
|
items: {
|
|
@@ -2689,6 +2693,7 @@ async function runBuild({
|
|
|
2689
2693
|
} catch (e) {
|
|
2690
2694
|
throw addErrorMessage(e, "Failed while preparing new build");
|
|
2691
2695
|
}
|
|
2696
|
+
logForCI_default(`Retrieved build ID: ${buildId}`);
|
|
2692
2697
|
updateState({
|
|
2693
2698
|
preparationProgress: 0.05,
|
|
2694
2699
|
preparationStageLabel: "Uploading"
|
|
@@ -5461,7 +5466,7 @@ var package_default = {
|
|
|
5461
5466
|
access: "public"
|
|
5462
5467
|
},
|
|
5463
5468
|
name: "@todesktop/cli",
|
|
5464
|
-
version: "1.
|
|
5469
|
+
version: "1.12.0-0",
|
|
5465
5470
|
license: "MIT",
|
|
5466
5471
|
author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
5467
5472
|
homepage: "https://todesktop.com/cli",
|