CLI support set app version

This commit is contained in:
Tw93
2024-12-23 20:35:13 +08:00
parent 712e830006
commit 7a02d8fb71
8 changed files with 31 additions and 4 deletions

8
bin/README.md vendored
View File

@@ -127,6 +127,14 @@ Sets whether the window is always at the top level, defaults to `false`.
--always-on-top
```
#### [app-version]
Set the version number of the packaged application to be consistent with the naming format of version in package.json, defaulting to `1.0.0`.
```shell
--app-version <string>
```
#### [dark-mode]
Force Mac to package applications using dark mode, default is `false`.