add zoom,min-height,min-width params
This commit is contained in:
34
docs/cli-usage.md
vendored
34
docs/cli-usage.md
vendored
@@ -138,6 +138,32 @@ Set the width of the application window. Default is `1200px`.
|
||||
--width <number>
|
||||
```
|
||||
|
||||
#### [min-width]
|
||||
|
||||
Set the minimum width that the window can be resized to. Keeps layouts usable when the window is dragged small.
|
||||
|
||||
```shell
|
||||
--min-width <number>
|
||||
```
|
||||
|
||||
#### [min-height]
|
||||
|
||||
Set the minimum height that the window can be resized to. Prevents UI breakage caused by very short windows.
|
||||
|
||||
```shell
|
||||
--min-height <number>
|
||||
```
|
||||
|
||||
#### [zoom]
|
||||
|
||||
Set initial page zoom level (50-200). Default is `100`. Users can still adjust with `Cmd/Ctrl +/-/0` shortcuts.
|
||||
|
||||
```shell
|
||||
--zoom <number>
|
||||
--zoom 80 # 80%
|
||||
--zoom 120 # 120%
|
||||
```
|
||||
|
||||
#### [hide-title-bar]
|
||||
|
||||
Enable or disable immersive header. Default is `false`. Use the following command to enable this feature, macOS only.
|
||||
@@ -439,6 +465,14 @@ Enable developer tools and detailed logging for debugging.
|
||||
--debug
|
||||
```
|
||||
|
||||
#### [ignore-certificate-errors]
|
||||
|
||||
Ignore TLS certificate validation errors when loading the target URL. Useful for intranet apps, dev servers, or self-signed certificates.
|
||||
|
||||
```shell
|
||||
--ignore-certificate-errors
|
||||
```
|
||||
|
||||
### Packaging Complete
|
||||
|
||||
After completing the above steps, your application should be successfully packaged. Please note that the packaging process may take some time depending on your system configuration and network conditions. Be patient, and once the packaging is complete, you can find the application installer in the specified directory.
|
||||
|
||||
Reference in New Issue
Block a user