🐛 Fix type error.

This commit is contained in:
Tw93
2023-04-10 14:30:28 +08:00
parent 48de52546c
commit f5f8001003
4 changed files with 3 additions and 13 deletions

2
bin/defaults.ts vendored
View File

@@ -15,8 +15,6 @@ export const DEFAULT_PAKE_OPTIONS: PakeCliOptions = {
iterCopyFile: false,
systemTrayIcon: '',
debug: false,
multiArch: false,
targets: "all",
};
export const DEFAULT_APP_NAME = 'Pake';

8
bin/types.ts vendored
View File

@@ -38,15 +38,9 @@ export interface PakeCliOptions {
/** mutli arch, Supports both Intel and m1 chips, only for Mac */
multiArch: boolean;
// 包输出产物对linux用户有效默认为deb可选appimage, 或者all即同时输出deb和all;
targets: string;
/** 调试模式,会输出更多日志 */
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,
}