Skip to content

Distribution with Electron #4

@sklink

Description

@sklink

When I package up the application, if the user doesn't have Java installed gkm won't run.

I've run into the same issue with gm and have packaged a binary with Electron to distribute. I can then use their appPath option to refer to the local gm instead of looking for a globally installed gm.

Here's the easiest place to check that out:
https://github.com/aheckmann/gm/blob/c1bef9d4fd21e34ef8138f44a85c342aeae1f174/lib/compare.js#L24

I was going to do the changes myself and create a pull request but I think it'll end up needing to change the way people need to implement gkm in their project. What are your thoughts on this change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions