diff --git a/extras/assets/nodegui_white.png b/extras/assets/nodegui_white.png new file mode 100644 index 000000000..79d6b33a1 Binary files /dev/null and b/extras/assets/nodegui_white.png differ diff --git a/src/demo.ts b/src/demo.ts index 784aea8e3..acaf607c2 100644 --- a/src/demo.ts +++ b/src/demo.ts @@ -106,8 +106,11 @@ const pixmap = new QPixmap( imageLabel.setPixmap(pixmap); scrollArea.setWidget(imageLabel); +const trayIcon = new QIcon( + path.resolve(__dirname, "../extras/assets/nodegui_white.png") +); const tray = new QSystemTrayIcon(); -tray.setIcon(icon); +tray.setIcon(trayIcon); tray.show() if (rootView.layout) {