mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
chore: rename
This commit is contained in:
parent
e522cf352d
commit
dfc3d86534
@ -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}`))
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user