refactor: icon

pull/67/head
xiaojunnuo 2021-01-10 17:49:28 +08:00
parent 3f37a435e1
commit db4f611de8
8 changed files with 14 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@ -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) {

View File

@ -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" />

View File

@ -55,6 +55,9 @@ module.exports = {
mac: {
target: 'dmg'
},
win: {
icon: '/public/icon.png'
},
publish: {
provider: 'generic',
url: ''