正在显示
1 个修改的文件
包含
13 行增加
和
18 行删除
| ... | @@ -21,12 +21,10 @@ | ... | @@ -21,12 +21,10 @@ |
| 21 | }, | 21 | }, |
| 22 | "build": { | 22 | "build": { |
| 23 | "extraFiles": [], | 23 | "extraFiles": [], |
| 24 | - "publish": [ | 24 | + "publish": [{ |
| 25 | - { | 25 | + "provider": "generic", |
| 26 | - "provider": "generic", | 26 | + "url": "http://127.0.0.1" |
| 27 | - "url": "http://127.0.0.1" | 27 | + }], |
| 28 | - } | ||
| 29 | - ], | ||
| 30 | "productName": "electron-vue-admin", | 28 | "productName": "electron-vue-admin", |
| 31 | "appId": "org.simulatedgreg.electron-vue", | 29 | "appId": "org.simulatedgreg.electron-vue", |
| 32 | "directories": { | 30 | "directories": { |
| ... | @@ -36,8 +34,7 @@ | ... | @@ -36,8 +34,7 @@ |
| 36 | "dist/electron/**/*" | 34 | "dist/electron/**/*" |
| 37 | ], | 35 | ], |
| 38 | "dmg": { | 36 | "dmg": { |
| 39 | - "contents": [ | 37 | + "contents": [{ |
| 40 | - { | ||
| 41 | "x": 410, | 38 | "x": 410, |
| 42 | "y": 150, | 39 | "y": 150, |
| 43 | "type": "link", | 40 | "type": "link", |
| ... | @@ -55,15 +52,13 @@ | ... | @@ -55,15 +52,13 @@ |
| 55 | }, | 52 | }, |
| 56 | "win": { | 53 | "win": { |
| 57 | "icon": "build/icons/icon.ico", | 54 | "icon": "build/icons/icon.ico", |
| 58 | - "target": [ | 55 | + "target": [{ |
| 59 | - { | 56 | + "target": "nsis", |
| 60 | - "target": "nsis", | 57 | + "arch": [ |
| 61 | - "arch": [ | 58 | + "x64", |
| 62 | - "x64", | 59 | + "ia32" |
| 63 | - "ia32" | 60 | + ] |
| 64 | - ] | 61 | + }] |
| 65 | - } | ||
| 66 | - ] | ||
| 67 | }, | 62 | }, |
| 68 | "linux": { | 63 | "linux": { |
| 69 | "icon": "build/icons" | 64 | "icon": "build/icons" |
| ... | @@ -156,4 +151,4 @@ | ... | @@ -156,4 +151,4 @@ |
| 156 | "webpack-hot-middleware": "^2.25.0", | 151 | "webpack-hot-middleware": "^2.25.0", |
| 157 | "webpack-merge": "^4.2.2" | 152 | "webpack-merge": "^4.2.2" |
| 158 | } | 153 | } |
| 159 | -} | 154 | +} |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
请 注册 或 登录 后发表评论