refactor: icon
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 264 KiB |
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 264 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 40 KiB |
|
@ -40,7 +40,7 @@ function setTray (app) {
|
|||
}
|
||||
]
|
||||
// 设置系统托盘图标
|
||||
let icon = '32x32.png'
|
||||
let icon = '128x128.png'
|
||||
if (isMac) {
|
||||
icon = '16x16.png'
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ function createWindow () {
|
|||
nodeIntegration: true// process.env.ELECTRON_NODE_INTEGRATION
|
||||
},
|
||||
// eslint-disable-next-line no-undef
|
||||
icon: path.join(__dirname, '../build/icons/icon.png')
|
||||
icon: path.join(__static, 'icon.png')
|
||||
})
|
||||
|
||||
if (process.env.WEBPACK_DEV_SERVER_URL) {
|
||||
|
|
|
@ -15,8 +15,15 @@
|
|||
<a-button type="primary" style="float:right" @click="doSetup()">点此去安装</a-button>
|
||||
</template>
|
||||
<div>
|
||||
请按如下步骤将<b>本地随机生成</b>的根证书添加到<b>信任的根证书颁发机构</b><br/>
|
||||
证书是本地随机生成,所以信任它是安全的
|
||||
<b>本应用正常使用必须信任本地自动随机生成的根证书</b><br/>
|
||||
1、点击右上角“点此去安装按钮”<br/>
|
||||
<template v-if="this.systemPlatform === 'mac'">
|
||||
2、然后按如下图步骤将随机生成的根证书设置为信任<br/>
|
||||
</template>
|
||||
<template v-else>
|
||||
2、然后按如下图步骤将根证书添加到<b>信任的根证书颁发机构</b><br/>
|
||||
</template>
|
||||
|
||||
</div>
|
||||
<img width="100%" :src="setupImage" />
|
||||
|
||||
|
|
|
@ -55,6 +55,9 @@ module.exports = {
|
|||
mac: {
|
||||
target: 'dmg'
|
||||
},
|
||||
win: {
|
||||
icon: '/public/icon.png'
|
||||
},
|
||||
publish: {
|
||||
provider: 'generic',
|
||||
url: ''
|
||||
|
|