左上角logo

This commit is contained in:
gaoshuaixing
2022-11-17 16:05:12 +08:00
parent ba40375b06
commit 334b9f8bc7
3 changed files with 1 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ module.exports = (appInfo) => {
},
frame: true,
show: true,
icon: path.join(appInfo.home, 'public', 'images', 'logo-32.png'),
//backgroundColor: '#000000'
//titleBarStyle: 'hidden'
};

View File

@@ -28,7 +28,6 @@ export default {
subtitle: '副标题', // macOS系统专有属性
body: '这是通知内容-默认',
silent: true,
icon: '/asset/images/tray_logo.png',
},
{
type: 'main',

BIN
public/images/logo-32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB