Sky

修改文案,不清楚为什么在win上,打包会出现失败的情况,而mac打包win则不会

......@@ -117,8 +117,8 @@ function greeting () {
const cols = process.stdout.columns
let text = ''
if (cols > 85) text = 'lets-build'
else if (cols > 60) text = 'lets-|build'
if (cols > 85) text = `let's-build`
else if (cols > 60) text = `let's-|build`
else text = false
if (text && !isCI) {
......@@ -127,6 +127,6 @@ function greeting () {
font: 'simple3d',
space: false
})
} else console.log(chalk.yellow.bold('\n lets-build'))
} else console.log(chalk.yellow.bold(`\n let's-build`))
console.log()
}
\ No newline at end of file
......
......@@ -32,8 +32,7 @@
"dist/electron/**/*"
],
"dmg": {
"contents": [
{
"contents": [{
"x": 410,
"y": 150,
"type": "link",
......@@ -136,4 +135,4 @@
"webpack-hot-middleware": "^2.25.0",
"webpack-merge": "^4.2.1"
}
}
}
\ No newline at end of file
......