sensitive icon indicating copy to clipboard operation
sensitive copied to clipboard

App crashes due to error on setIcon

Open colidyre opened this issue 8 years ago • 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)

[email protected] 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')));

colidyre avatar Nov 09 '17 09:11 colidyre