Skip to content

App crashes due to error on setIcon #14

Description

@colidyre

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')));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions