@todesktop/cli 1.7.1 → 1.7.3

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
@@ -247,6 +247,12 @@ Example: `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
 
250
+ ### `asar` - (optional) boolean
251
+
252
+ Default: true
253
+
254
+ Whether to package your application's source code within an asar archive. You should only turn this off if you have a good reason to.
255
+
250
256
  ### `asarUnpack` - (optional) boolean or array of glob patterns
251
257
 
252
258
  Default: [`**/*.node`]
@@ -970,6 +976,10 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
970
976
 
971
977
  ## Changelog
972
978
 
979
+ ### v1.7.3
980
+
981
+ - Add asar configuration support
982
+
973
983
  ### v1.6.3
974
984
 
975
985
  - Add support for specifying custom `windows.nsisCustomBinary` in config
package/dist/cli.js CHANGED
@@ -1455,6 +1455,10 @@ var full_default = (context) => {
1455
1455
  mustBeElectronApp: true
1456
1456
  }
1457
1457
  },
1458
+ asar: {
1459
+ type: "boolean",
1460
+ default: true
1461
+ },
1458
1462
  asarUnpack: {
1459
1463
  oneOf: [
1460
1464
  { type: "boolean" },
@@ -4121,7 +4125,7 @@ function validateBuild(build) {
4121
4125
  }
4122
4126
  if (!isRuntimeVerRangeAllowed(build.todesktopRuntimeVersionSpecified)) {
4123
4127
  throw new SmokeError(
4124
- `The build should have @todesktop/shared@${MIN_RUNTIME_VERSION} installed at least`
4128
+ `This build should have @todesktop/runtime version ${MIN_RUNTIME_VERSION} or later to run smoke tests.`
4125
4129
  );
4126
4130
  }
4127
4131
  }
@@ -4746,7 +4750,7 @@ var package_default = {
4746
4750
  access: "public"
4747
4751
  },
4748
4752
  name: "@todesktop/cli",
4749
- version: "1.7.0",
4753
+ version: "1.7.2",
4750
4754
  license: "MIT",
4751
4755
  author: "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
4752
4756
  homepage: "https://todesktop.com/cli",