From dfc3d86534d0f50c620b605539bc3533424c169c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Mon, 22 Nov 2021 14:22:17 +0800 Subject: [PATCH] chore: rename --- scripts/build.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index a250cc5..674d9d8 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -1,7 +1,7 @@ process.env.NODE_ENV = 'production' import { build as viteBuild } from 'vite' -import { build as electronBuild2 } from 'electron-builder' +import { build as electronBuild } from 'electron-builder' import { config as builderConfig } from '../configs/electron-builder.config.mjs' import chalk from 'chalk' @@ -23,9 +23,9 @@ async function buildElectron() { } async function packElectron() { - return electronBuild2({ config: builderConfig }) + return electronBuild({ config: builderConfig }) .then(result => { - console.log(TAG, chalk.green(`electron-builder.build result - ${result}`)) + console.log(TAG, chalk.green(`[electron-builder.build result]: ${result}`)) }) }