@todesktop/cli 1.20.0-1 → 1.21.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 +61 -2
- package/dist/cli.js +167 -116
- package/dist/cli.js.map +3 -3
- package/dist/types.d.ts +4 -0
- package/package.json +8 -7
- package/schemas/schema.json +10 -0
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.21.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.21.0/schemas/schema.json",
|
|
417
417
|
"id": "your-todesktop-id"
|
|
418
418
|
}
|
|
419
419
|
```
|
|
@@ -908,6 +908,29 @@ Linux Changelog:
|
|
|
908
908
|
you're doing.
|
|
909
909
|
- `0.0.11`: Updated git 2.25.1 → 2.47.1 node 18.18.2 → 18.20.5
|
|
910
910
|
|
|
911
|
+
### `linux.executableArgs` - (optional) string[]
|
|
912
|
+
|
|
913
|
+
Example: `--enable-features=UseOzonePlatform,--ozone-platform=x11`
|
|
914
|
+
|
|
915
|
+
Additional command-line arguments to pass to the executable in the Linux .desktop file Exec line.
|
|
916
|
+
|
|
917
|
+
This is useful if your Linux app requires specific flags to run reliably. For
|
|
918
|
+
example, some apps need Ozone platform flags for Wayland/X11 compatibility:
|
|
919
|
+
|
|
920
|
+
```json
|
|
921
|
+
{
|
|
922
|
+
"linux": {
|
|
923
|
+
"executableArgs": [
|
|
924
|
+
"--enable-features=UseOzonePlatform",
|
|
925
|
+
"--ozone-platform=x11"
|
|
926
|
+
]
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
```
|
|
930
|
+
|
|
931
|
+
Note: `--no-sandbox` is included by default. If you set `executableArgs`, it
|
|
932
|
+
will be preserved automatically unless you also set `noSandbox` to `false`.
|
|
933
|
+
|
|
911
934
|
### `linux.noSandbox` - (optional) boolean
|
|
912
935
|
|
|
913
936
|
Default: `true`
|
|
@@ -1679,6 +1702,42 @@ Now, when we build your app on ToDesktop servers, it will also run your custom
|
|
|
1679
1702
|
|
|
1680
1703
|
## Changelog
|
|
1681
1704
|
|
|
1705
|
+
### 1.21.0
|
|
1706
|
+
|
|
1707
|
+
#### Minor Changes
|
|
1708
|
+
|
|
1709
|
+
- 7906119: Add `linux.executableArgs` configuration option for passing
|
|
1710
|
+
additional command-line arguments to the Linux executable.
|
|
1711
|
+
|
|
1712
|
+
### 1.20.4
|
|
1713
|
+
|
|
1714
|
+
#### Patch Changes
|
|
1715
|
+
|
|
1716
|
+
- da70faa: Fix `whoami` command not working when authenticated via environment
|
|
1717
|
+
variables (TODESKTOP_EMAIL and TODESKTOP_ACCESS_TOKEN)
|
|
1718
|
+
|
|
1719
|
+
### 1.20.3
|
|
1720
|
+
|
|
1721
|
+
#### Patch Changes
|
|
1722
|
+
|
|
1723
|
+
- 22b8f01: Fix `whoami` command
|
|
1724
|
+
|
|
1725
|
+
### 1.20.2
|
|
1726
|
+
|
|
1727
|
+
#### Patch Changes
|
|
1728
|
+
|
|
1729
|
+
- 1bb4683: Fix pnpm catalog references not being resolved when
|
|
1730
|
+
bundleWorkspacePackages is enabled but no workspace packages are bundled. This
|
|
1731
|
+
ensures apps using only `catalog:` dependencies (without `workspace:*`
|
|
1732
|
+
dependencies) can build correctly with Bun and other package managers.
|
|
1733
|
+
|
|
1734
|
+
### 1.20.1
|
|
1735
|
+
|
|
1736
|
+
#### Patch Changes
|
|
1737
|
+
|
|
1738
|
+
- 14e248b: Use todesktopRuntimeVersionUsed instead of
|
|
1739
|
+
todesktopRuntimeVersionSpecified for smoke test
|
|
1740
|
+
|
|
1682
1741
|
### 1.20.0
|
|
1683
1742
|
|
|
1684
1743
|
#### Minor Changes
|