lx-music-desktop/publish/utils/packAssets.js

11 lines
259 B
JavaScript

const builder = require('electron-builder')
const chalk = require('chalk')
// Promise is returned
module.exports = () => builder.build().catch(error => {
console.log(error)
console.log(chalk.red('Asset build failed.'))
return Promise.reject(error)
})