Sky

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

...@@ -117,8 +117,8 @@ function greeting () { ...@@ -117,8 +117,8 @@ function greeting () {
117 const cols = process.stdout.columns 117 const cols = process.stdout.columns
118 let text = '' 118 let text = ''
119 119
120 - if (cols > 85) text = 'lets-build' 120 + if (cols > 85) text = `let's-build`
121 - else if (cols > 60) text = 'lets-|build' 121 + else if (cols > 60) text = `let's-|build`
122 else text = false 122 else text = false
123 123
124 if (text && !isCI) { 124 if (text && !isCI) {
...@@ -127,6 +127,6 @@ function greeting () { ...@@ -127,6 +127,6 @@ function greeting () {
127 font: 'simple3d', 127 font: 'simple3d',
128 space: false 128 space: false
129 }) 129 })
130 - } else console.log(chalk.yellow.bold('\n lets-build')) 130 + } else console.log(chalk.yellow.bold(`\n let's-build`))
131 console.log() 131 console.log()
132 } 132 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
32 "dist/electron/**/*" 32 "dist/electron/**/*"
33 ], 33 ],
34 "dmg": { 34 "dmg": {
35 - "contents": [ 35 + "contents": [{
36 - {
37 "x": 410, 36 "x": 410,
38 "y": 150, 37 "y": 150,
39 "type": "link", 38 "type": "link",
......