pake最新版本

This commit is contained in:
Tw93
2022-12-21 19:42:17 +08:00
parent 043c472013
commit 737022fa2b
6 changed files with 54 additions and 38 deletions

4
bin/README.md vendored
View File

@@ -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
View File

@@ -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
View File

@@ -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
View File

@@ -5,10 +5,10 @@ export interface PakeCliOptions {
/** 应用icon */
icon: string;
/** 应用窗口宽度,默认 1280px */
/** 应用窗口宽度,默认 1200px */
width: number;
/** 应用窗口高度,默认 800px */
/** 应用窗口高度,默认 780px */
height: number;
/** 是否可以拖动默认true */