gillyb/sensitive

App crashes due to error on setIcon

Opened this issue · 0 comments

App crashes after prompting npm start with error message

Uncaught Exception:
TypeError: Cannot read property 'setIcon' of undefined
at ._onTimeout (/<path_to_sensitive>/sensitive/main.js:19:13)
at Timer.listOnTimeout (timers.js:92:15)

Sensitive@0.1.0 with npm version 3.5.2 on Linux Mint 18 Cinnamon (3.0.7) 64-bit

Solution, working for me: commenting out line 19 in main.js:

// app.dock.setIcon(electron.nativeImage.createFromPath(path.resolve('./sense/installedPlugins/sense/public/logo128.png')));