@todesktop/cli 1.22.0 → 1.23.0
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 +41 -6
- package/dist/cli.js +360 -206
- package/dist/cli.js.map +4 -4
- package/dist/types.d.ts +2 -2
- package/package.json +1 -1
- package/schemas/schema.json +9 -6
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ Create a `todesktop.json` file in the root of your Electron project.
|
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
|
-
"$schema": "https://unpkg.com/@todesktop/cli@1.
|
|
51
|
+
"$schema": "https://unpkg.com/@todesktop/cli@1.23.0/schemas/schema.json",
|
|
52
52
|
"schemaVersion": 1
|
|
53
53
|
"id": "your-todesktop-id",
|
|
54
54
|
"icon": "./desktop-icon.png",
|
|
@@ -413,7 +413,7 @@ To enable JSON validation and IntelliSense for your `todesktop.json` file in com
|
|
|
413
413
|
- For example, if using a hosted version of the schema:
|
|
414
414
|
```json
|
|
415
415
|
{
|
|
416
|
-
"$schema": "https://unpkg.com/@todesktop/cli@1.
|
|
416
|
+
"$schema": "https://unpkg.com/@todesktop/cli@1.23.0/schemas/schema.json",
|
|
417
417
|
"id": "your-todesktop-id"
|
|
418
418
|
}
|
|
419
419
|
```
|
|
@@ -489,7 +489,7 @@ This is the path to your Electron application directory. Omit this unless your p
|
|
|
489
489
|
The path can be absolute or a relative path from the project root. The directory
|
|
490
490
|
it points to must be a valid Electron application directory; i.e.:
|
|
491
491
|
|
|
492
|
-
- It could be ran with the `electron` command; i.e. `npx electron {
|
|
492
|
+
- It could be ran with the `electron` command; i.e. `npx electron {appPath}`.
|
|
493
493
|
- It needs to contain a valid `package.json`.
|
|
494
494
|
- The `package.json` must either have a `main` property pointing to a file in
|
|
495
495
|
the directory or there must be an `index.js` at the root of the directory.
|
|
@@ -1028,7 +1028,12 @@ Extra entries for `Info.plist`.
|
|
|
1028
1028
|
|
|
1029
1029
|
Example: `./mac-icon.png`
|
|
1030
1030
|
|
|
1031
|
-
The path to your application's Mac desktop icon. It must be an ICNS or
|
|
1031
|
+
The path to your application's Mac desktop icon. It must be an ICNS, PNG, or Apple `.icon` package directory.
|
|
1032
|
+
|
|
1033
|
+
Note: Apple `.icon` paths should point to the Icon Composer package directory
|
|
1034
|
+
(for example `AppIcon.icon`).
|
|
1035
|
+
|
|
1036
|
+
Note: Apple `.icon` support requires `appBuilderLibVersion` `26.8.1` or later.
|
|
1032
1037
|
|
|
1033
1038
|
Default: The root [`icon`](#icon---string) is used.
|
|
1034
1039
|
|
|
@@ -1372,9 +1377,12 @@ The publisher name, exactly as in your code signing certificate. Several names c
|
|
|
1372
1377
|
|
|
1373
1378
|
### `appBuilderLibVersion` - (optional) string
|
|
1374
1379
|
|
|
1375
|
-
Example: `22.14.13`
|
|
1380
|
+
Example: `22.14.13`, `latest`
|
|
1381
|
+
|
|
1382
|
+
The version of app-builder-lib that ToDesktop should use for building your app. This can be a specific version, a semantic version range, or "latest". This can be useful if you need to use a specific version that includes certain features or fixes.
|
|
1376
1383
|
|
|
1377
|
-
|
|
1384
|
+
Note: Set this to `26.8.1` or later if you are using Apple Icon Composer assets
|
|
1385
|
+
via [`mac.icon`](#macicon---optional-string).
|
|
1378
1386
|
|
|
1379
1387
|
### `platformOverrides` - (optional) object
|
|
1380
1388
|
|
|
@@ -1726,6 +1734,33 @@ Now, when we build your app on ToDesktop servers, it will also run your custom
|
|
|
1726
1734
|
|
|
1727
1735
|
## Changelog
|
|
1728
1736
|
|
|
1737
|
+
### 1.23.0
|
|
1738
|
+
|
|
1739
|
+
#### Minor Changes
|
|
1740
|
+
|
|
1741
|
+
- d4ed725: Add macOS Icon Composer `.icon` package support via `mac.icon`
|
|
1742
|
+
|
|
1743
|
+
#### Patch Changes
|
|
1744
|
+
|
|
1745
|
+
- 9cc64ae: Allow choosing the latest app-builder-lib version in
|
|
1746
|
+
`todesktop.json`.
|
|
1747
|
+
- cb5ef40: Clean up failed builds by deleting the build record when upload
|
|
1748
|
+
fails.
|
|
1749
|
+
|
|
1750
|
+
### 1.22.2
|
|
1751
|
+
|
|
1752
|
+
#### Patch Changes
|
|
1753
|
+
|
|
1754
|
+
- f6557f8: Fix cases when build cancelling doesn't work as expected
|
|
1755
|
+
|
|
1756
|
+
### 1.22.1
|
|
1757
|
+
|
|
1758
|
+
#### Patch Changes
|
|
1759
|
+
|
|
1760
|
+
- 3e109f0: Improved build introspection so the CLI passes app context for faster
|
|
1761
|
+
session startup and invited teammates can connect without tunnel auth
|
|
1762
|
+
permission errors.
|
|
1763
|
+
|
|
1729
1764
|
### 1.22.0
|
|
1730
1765
|
|
|
1731
1766
|
#### Minor Changes
|