✨ pake最新版本
This commit is contained in:
4
bin/README.md
vendored
4
bin/README.md
vendored
@@ -51,7 +51,7 @@ url 为你需要打包的网页链接 🔗,必须提供。
|
||||
|
||||
#### [height]
|
||||
|
||||
打包后的应用窗口高度,默认 `800px`。
|
||||
打包后的应用窗口高度,默认 `780px`。
|
||||
|
||||
```shell
|
||||
--height <number>
|
||||
@@ -59,7 +59,7 @@ url 为你需要打包的网页链接 🔗,必须提供。
|
||||
|
||||
#### [width]
|
||||
|
||||
打包后的应用窗口宽度,默认 `1280px`。
|
||||
打包后的应用窗口宽度,默认 `1200px`。
|
||||
|
||||
```shell
|
||||
--width <number>
|
||||
|
||||
4
bin/README_EN.md
vendored
4
bin/README_EN.md
vendored
@@ -50,7 +50,7 @@ The application icon, support local and remote files, the default is brand icon
|
||||
|
||||
#### [height]
|
||||
|
||||
The height of the packaged application window. The default is `800px`.
|
||||
The height of the packaged application window. The default is `780px`.
|
||||
|
||||
```shell
|
||||
--height <number>
|
||||
@@ -58,7 +58,7 @@ The height of the packaged application window. The default is `800px`.
|
||||
|
||||
#### [width]
|
||||
|
||||
The width of the packaged application window. The default is `1280px`.
|
||||
The width of the packaged application window. The default is `1200px`.
|
||||
|
||||
```shell
|
||||
--width <number>
|
||||
|
||||
4
bin/defaults.ts
vendored
4
bin/defaults.ts
vendored
@@ -2,8 +2,8 @@ import { PakeCliOptions } from './types.js';
|
||||
|
||||
export const DEFAULT_PAKE_OPTIONS: PakeCliOptions = {
|
||||
icon: '',
|
||||
height: 800,
|
||||
width: 1280,
|
||||
height: 780,
|
||||
width: 1200,
|
||||
fullscreen: false,
|
||||
resizable: true,
|
||||
transparent: false,
|
||||
|
||||
4
bin/types.ts
vendored
4
bin/types.ts
vendored
@@ -5,10 +5,10 @@ export interface PakeCliOptions {
|
||||
/** 应用icon */
|
||||
icon: string;
|
||||
|
||||
/** 应用窗口宽度,默认 1280px */
|
||||
/** 应用窗口宽度,默认 1200px */
|
||||
width: number;
|
||||
|
||||
/** 应用窗口高度,默认 800px */
|
||||
/** 应用窗口高度,默认 780px */
|
||||
height: number;
|
||||
|
||||
/** 是否可以拖动,默认true */
|
||||
|
||||
Reference in New Issue
Block a user