🐛 Fix type error.
This commit is contained in:
2
bin/defaults.ts
vendored
2
bin/defaults.ts
vendored
@@ -15,8 +15,6 @@ export const DEFAULT_PAKE_OPTIONS: PakeCliOptions = {
|
|||||||
iterCopyFile: false,
|
iterCopyFile: false,
|
||||||
systemTrayIcon: '',
|
systemTrayIcon: '',
|
||||||
debug: false,
|
debug: false,
|
||||||
multiArch: false,
|
|
||||||
targets: "all",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const DEFAULT_APP_NAME = 'Pake';
|
export const DEFAULT_APP_NAME = 'Pake';
|
||||||
|
|||||||
8
bin/types.ts
vendored
8
bin/types.ts
vendored
@@ -38,15 +38,9 @@ export interface PakeCliOptions {
|
|||||||
/** mutli arch, Supports both Intel and m1 chips, only for Mac */
|
/** mutli arch, Supports both Intel and m1 chips, only for Mac */
|
||||||
multiArch: boolean;
|
multiArch: boolean;
|
||||||
|
|
||||||
// 包输出产物,对linux用户有效,默认为deb,可选appimage, 或者all(即同时输出deb和all);
|
|
||||||
targets: string;
|
|
||||||
|
|
||||||
/** 调试模式,会输出更多日志 */
|
/** 调试模式,会输出更多日志 */
|
||||||
debug: 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 */
|
/** Select the output package format, support deb/appimage/all, only for Linux */
|
||||||
targets: string,
|
targets: string,
|
||||||
}
|
}
|
||||||
|
|||||||
4
dist/cli.js
vendored
4
dist/cli.js
vendored
@@ -60,8 +60,6 @@ const DEFAULT_PAKE_OPTIONS = {
|
|||||||
iterCopyFile: false,
|
iterCopyFile: false,
|
||||||
systemTrayIcon: '',
|
systemTrayIcon: '',
|
||||||
debug: false,
|
debug: false,
|
||||||
multiArch: false,
|
|
||||||
targets: "all",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const tlds = [
|
const tlds = [
|
||||||
@@ -2482,7 +2480,7 @@ class BuilderFactory {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var name = "pake-cli";
|
var name = "pake-cli";
|
||||||
var version = "2.0.0-alpha";
|
var version = "2.0.0-alpha1";
|
||||||
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
var description = "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。";
|
||||||
var engines = {
|
var engines = {
|
||||||
node: ">=16.0.0"
|
node: ">=16.0.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "pake-cli",
|
"name": "pake-cli",
|
||||||
"version": "2.0.0-alpha",
|
"version": "2.0.0-alpha1",
|
||||||
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0"
|
"node": ">=16.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user