@todesktop/cli 1.7.5 → 1.7.6

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 CHANGED
@@ -239,11 +239,11 @@ The path can be absolute or a relative path from the project root. The directory
239
239
 
240
240
  Side note: if your `package.json` contains a `postinstall` script which references scripts, these must be accessible within the `appPath` directory as only the `appPath` is uploaded to our servers.
241
241
 
242
- ### `appProtocolScheme` - (optional) string
242
+ ### `appProtocolScheme` - (optional) string | string[]
243
243
 
244
244
  Default: no protocol scheme is registered.
245
245
 
246
- Example: `word`.
246
+ Example: `word` or `[word, ...]`.
247
247
 
248
248
  If you want to register a protocol for your application (e.g. `example://`) and or support deeplinking, you will need to use this option. If your desired protocol is `example://`, you would set `"appProtocolScheme": "example"`. NOTE: these features also require additional application logic.
249
249
 
@@ -989,6 +989,10 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
989
989
 
990
990
  ## Changelog
991
991
 
992
+ ### v.7.6
993
+
994
+ - Add support for multiple app protocol schemes
995
+
992
996
  ### v1.7.5
993
997
 
994
998
  - Add support for specifying custom `npmVersion` in config
package/dist/cli.js CHANGED
@@ -1449,7 +1449,16 @@ var full_default = (context) => {
1449
1449
  },
1450
1450
  minItems: 1
1451
1451
  },
1452
- appProtocolScheme: { type: "string", minLength: 1 },
1452
+ appProtocolScheme: {
1453
+ oneOf: [
1454
+ { type: "string", minLength: 1 },
1455
+ {
1456
+ type: "array",
1457
+ items: { type: "string", minLength: 1 },
1458
+ minItems: 1
1459
+ }
1460
+ ]
1461
+ },
1453
1462
  appPath: {
1454
1463
  type: "string",
1455
1464
  file: {
@@ -4791,7 +4800,7 @@ var package_default = {
4791
4800
  access: "public"
4792
4801
  },
4793
4802
  name: "@todesktop/cli",
4794
- version: "1.7.4",
4803
+ version: "1.7.5",
4795
4804
  license: "MIT",
4796
4805
  author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
4797
4806
  homepage: "https://todesktop.com/cli",
@@ -4871,7 +4880,7 @@ var package_default = {
4871
4880
  "xdg-basedir": "^4.0.0"
4872
4881
  },
4873
4882
  devDependencies: {
4874
- "@todesktop/shared": "^7.186.3",
4883
+ "@todesktop/shared": "^7.186.6",
4875
4884
  "@types/bunyan": "^1.8.6",
4876
4885
  "@types/react": "^18.0.26",
4877
4886
  "@typescript-eslint/eslint-plugin": "^5.46.1",