Open Lucky38i opened 2 years ago
I'm use a nodeJS server with this package. Now my icon works with now issues when starting the server with node, however with PKG it seems the icons fail to load when a notification is showing.
My implementation in code
notify({ title: 'Test', message: notification.toPayload().message, sound: true, icon: join(__dirname, '..', '/assets/images/tail.png'), });
package.json
"pkg": { "assets": [ "dist/assets/**/*" ] }
File structure for pkg to pick up assets
I'm use a nodeJS server with this package. Now my icon works with now issues when starting the server with node, however with PKG it seems the icons fail to load when a notification is showing.
My implementation in code
package.json
File structure for pkg to pick up assets