feat: add "hxt" cli command
test / test (push) Failing after 5m52s

This commit is contained in:
2026-10-28 20:46:12 +03:00
parent ce51ab817c
commit 05be4ab622
13 changed files with 2572 additions and 1883 deletions
+4
View File
@@ -13,6 +13,7 @@ export interface ConfigParams {
meta?: ConfigMeta;
key?: SignKey;
android?: AndroidPreset[];
haxe?: string;
}
export interface ConfigMeta {
@@ -60,6 +61,7 @@ export class Config {
public meta: ConfigMeta;
public key: SignKey | null;
public android: AndroidPreset[];
public haxe: string | null;
private _params: ConfigParams[];
@@ -81,6 +83,7 @@ export class Config {
};
this.key = null;
this.android = [];
this.haxe = null;
if (params) {
this.update(params);
this.afterUpdate();
@@ -113,6 +116,7 @@ export class Config {
this.android = this.android.concat(
params.android.map((item) => ({ path: Config.absolutePath(item.path), extensions: item.extensions })),
);
if (params.haxe !== undefined) this.haxe = params.haxe;
if (this.meta.icon) this.icon = Config.absolutePath(this.meta.icon);
}