@todesktop/cli 1.9.3 → 1.9.5

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
@@ -90,9 +90,9 @@ To build your app, run the following command inside the root of your Electron pr
90
90
  todesktop build
91
91
  ```
92
92
 
93
- When prompted to login, use the email address and accessToken we would have provided you with. As this is in active beta, [contact us](mailto:hi@todesktop.com) if you do not yet have these credentials.
93
+ When prompted to login, use your email address and the accessToken from our dashboard. You can retrieve your access token by clicking on your name in the top right corner of the dashboard and selecting "Manage Access Token".
94
94
 
95
- You app can then be downloaded and tested.
95
+ Once built, your app can then be downloaded and tested.
96
96
 
97
97
  ### Step 5: Release your app
98
98
 
@@ -183,8 +183,8 @@ todesktop build --async --webhook https://example.com/build-finished-webhook
183
183
 
184
184
  The webhook receives a POST request with the following JSON body:
185
185
 
186
- ```
187
- POST https://example.com/build-finished-webhook
186
+ ```js
187
+ // POST https://example.com/build-finished-webhook
188
188
  {
189
189
  appId: string;
190
190
  accountUserEmail: string;
@@ -462,7 +462,7 @@ Example:
462
462
  ]
463
463
  ```
464
464
 
465
- - `ext` String | Array<String> - The extension (minus the leading period). e.g. png.
465
+ - `ext` String | String[] - The extension (minus the leading period). e.g. png.
466
466
  - `name` String - The name. e.g. PNG. Defaults to value of `ext`.
467
467
  - `description` String - windows-only. The description.
468
468
  - `icon` String - macOS and windows. Icon file name without extension. It points
@@ -553,7 +553,7 @@ Whether to include **all** of the submodules node_modules directories
553
553
  ### `mac` - (optional) object
554
554
 
555
555
  Default: We have good default settings for Mac.
556
- Example: `{ "entitlements": "./entitlements.mac.plist"`.
556
+ Example: `{ "entitlements": "./entitlements.mac.plist" }`.
557
557
 
558
558
  This object contains some options that only apply to the building & releasing for MacOS.
559
559
 
@@ -582,9 +582,16 @@ Example: `./entitlements.mac.plist`.
582
582
 
583
583
  The path to an entitlements file for signing your application. It must be a plist file.
584
584
 
585
+ #### `mac.entitlementsInherit` - (optional) string
586
+
587
+ Default: No entitlements file is provided by default.
588
+ Example: `./entitlementsInherit.mac.plist`.
589
+
590
+ The path to a child entitlements file for signing your application. It must be a plist file.
591
+
585
592
  #### `mac.extendInfo` - (optional) object
586
593
 
587
- Default: {}.
594
+ Default: `{}`.
588
595
  Example: `{ "NSUserNotificationAlertStyle": "alert" }`.
589
596
 
590
597
  Extra entries for `Info.plist`.
@@ -639,6 +646,13 @@ Example: `"distribution"`.
639
646
 
640
647
  Whether to sign app for development or for distribution.
641
648
 
649
+ ### `mas.x64ArchFiles` - (optional) string
650
+
651
+ Default: not defined
652
+ Example: `"Contents/Resources/foobar/**"`
653
+
654
+ Minimatch pattern of paths that are allowed to be x64 binaries in both ASAR files.
655
+
642
656
  ### `nodeVersion` - string
643
657
 
644
658
  Example: `18.12.1`.
@@ -1103,23 +1117,33 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
1103
1117
 
1104
1118
  ## Changelog
1105
1119
 
1106
- ## v1.9.3
1120
+ ### v1.9.5
1121
+
1122
+ - Add support for `mas.x64ArchFiles` in config.
1123
+ - Fix: Build is only recognised as ongoing if it was created in the last 24 hours.
1124
+ - Add support for `mac.entitlementsInherit` in config.
1125
+
1126
+ ### v1.9.4
1127
+
1128
+ - Fix: Mac URL download links are now formatted correctly.
1129
+
1130
+ ### v1.9.3
1107
1131
 
1108
1132
  - Add support for `mas.entitlements` in config.
1109
1133
  - Add support for `mas.entitlementsInherit` in config.
1110
1134
  - Add support for `mas.provisioningProfile` in config. Removed `mac.provisioningProfile` as a result.
1111
1135
 
1112
- ## v1.9.2
1136
+ ### v1.9.2
1113
1137
 
1114
1138
  - Add support for `mas.type` in config.
1115
1139
  - Add support for `mac.provisioningProfile` in config.
1116
1140
  - Add support for specifying `buildVersion` in config.
1117
1141
 
1118
- ## v1.9.1
1142
+ ### v1.9.1
1119
1143
 
1120
1144
  - Add support for `includeSubNodeModules` in config.
1121
1145
 
1122
- ## v1.9.0
1146
+ ### v1.9.0
1123
1147
 
1124
1148
  - You can now specify `@electron/rebuild` as a custom `rebuildLibrary` in your `todesktop.json` file.
1125
1149
 
@@ -1149,7 +1173,7 @@ Now, when we build your app on ToDesktop servers, it will also run your custom `
1149
1173
 
1150
1174
  ### v1.7.4
1151
1175
 
1152
- - Fix: Linux/Windows platform links no longer have mac/zip/{arch} added to the end of the download URL
1176
+ - Fix: Linux/Windows platform links no longer have mac/zip/\[arch\] added to the end of the download URL
1153
1177
 
1154
1178
  ### v1.7.3
1155
1179