From cf712b4e30a0e7fde097dd31f7d1238bbcaafd33 Mon Sep 17 00:00:00 2001 From: angelespejo Date: Sat, 28 Sep 2024 04:40:23 +0200 Subject: [PATCH] :bug: fix(core): fix consts --- CHANGELOG.md | 6 ++++++ package.json | 2 +- src/main.ts | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ee315d..e9fc8f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # binarium +## 0.1.4 + +### Patch Changes + +- fix consts + ## 0.1.3 ### Patch Changes diff --git a/package.json b/package.json index e4b02c2..68b7c36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "binarium", - "version": "0.1.3", + "version": "0.1.4", "description": "Zero-configuration node library and CLI for building executables for all platforms and architectures", "type": "module", "license": "GPL-3.0", diff --git a/src/main.ts b/src/main.ts index 04a5780..1ed203b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ export const BINARIUM_CONSTS: { debug?: boolean, icon?: string } = { - icon : '📦', + icon : undefined, name : undefined, debug : undefined, } @@ -297,6 +297,7 @@ export const build = async ( params: BuilderParams ) =>{ const isDebug = existsFlag( 'debug' ) || BINARIUM_CONSTS?.debug const log = logger( { + icon : BINARIUM_CONSTS?.icon || '📦', name : BINARIUM_CONSTS?.name || name, isDebug, } )