正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
| ... | @@ -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", |
| ... | @@ -136,4 +135,4 @@ | ... | @@ -136,4 +135,4 @@ |
| 136 | "webpack-hot-middleware": "^2.25.0", | 135 | "webpack-hot-middleware": "^2.25.0", |
| 137 | "webpack-merge": "^4.2.1" | 136 | "webpack-merge": "^4.2.1" |
| 138 | } | 137 | } |
| 139 | -} | 138 | +} |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论