perf: mac 图标优化

pull/67/head
xiaojunnuo 2021-01-10 01:28:55 +08:00
parent d15749fd70
commit 92bb4b98b3
15 changed files with 3 additions and 3 deletions

View File

@ -8,13 +8,13 @@ const executor = {
return true
},
async linux (exec, { certPath }) {
const cmds = ['open "" "' + certPath + '"']
const cmds = ['open "' + certPath + '"']
// eslint-disable-next-line no-unused-vars
const ret = await exec(cmds, { type: 'cmd' })
return true
},
async mac (exec, { certPath }) {
const cmds = ['open "" "' + certPath + '"']
const cmds = ['open "' + certPath + '"']
// eslint-disable-next-line no-unused-vars
const ret = await exec(cmds, { type: 'cmd' })
return true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 552 B

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 864 B

After

Width:  |  Height:  |  Size: 830 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

After

Width:  |  Height:  |  Size: 353 KiB

View File

@ -128,7 +128,7 @@ function setDock () {
const { app } = require('electron')
if (process.platform === 'darwin') {
app.whenReady().then(() => {
app.dock.setIcon(path.join(__dirname, '../build/icons/1024x1024.png'))
app.dock.setIcon(path.join(__dirname, '../build/icons/512x512.png'))
})
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB