36 lines
801 B
TypeScript
Vendored
36 lines
801 B
TypeScript
Vendored
export interface PakeCliOptions {
|
||
/** 应用名称 */
|
||
name?: string;
|
||
|
||
/** 应用icon */
|
||
icon: string;
|
||
|
||
/** 应用窗口宽度,默认 1200px */
|
||
width: number;
|
||
|
||
/** 应用窗口高度,默认 780px */
|
||
height: number;
|
||
|
||
/** 是否可以拖动,默认true */
|
||
resizable: boolean;
|
||
|
||
/** 是否可以全屏,默认 false */
|
||
fullscreen: boolean;
|
||
|
||
/** 是否开启沉浸式头部,默认为 false 不开启 ƒ*/
|
||
transparent: boolean;
|
||
|
||
/** 调试模式,会输出更多日志 */
|
||
debug: boolean;
|
||
|
||
/** mutli arch, Supports both Intel and m1 chips, only for Mac */
|
||
multiArch: boolean;
|
||
|
||
/** Select the output package format, support deb/appimage/all, only for Linux */
|
||
targets: string,
|
||
}
|
||
|
||
export interface PakeAppOptions extends PakeCliOptions {
|
||
identifier: string;
|
||
}
|