程式狂想筆記

一個攻城師奮鬥史

0%

electron 新手做Tray通知(以electron-chat-app-demo為例)

要做blog移轉,筆記先存檔…

Electron 中文文檔
https://dl.lianst.com/ebook/Electron%20%E4%B8%AD%E6%96%87%E6%96%87%E6%A1%A3.pdf

http://zhuxindaba.github.io/2016/07/05/Electron/desktop_environment_integration/

1
var {Menu, Tray} = require('electron').remote
1
2
const trayIcon = path.join(__dirname, 'icons/icon-16x16.png');
const tray = new Tray(trayIcon);

https://www.christianengvall.se/electron-packager-tutorial/
https://github.com/electron/electron/issues/7657