perf: mac 图标优化
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
		 Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 93 KiB  | 
| 
		 Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.9 KiB  | 
| 
		 Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 570 B  | 
| 
		 Before Width: | Height: | Size: 864 B After Width: | Height: | Size: 830 B  | 
| 
		 Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 11 KiB  | 
| 
		 Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB  | 
| 
		 Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB  | 
| 
		 Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 24 KiB  | 
| 
		 Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB  | 
| 
		 Before Width: | Height: | Size: 70 KiB  | 
| 
		 Before Width: | Height: | Size: 353 KiB After Width: | Height: | Size: 353 KiB  | 
| 
						 | 
				
			
			@ -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'))
 | 
			
		||||
    })
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
		 Before Width: | Height: | Size: 18 KiB  |