robot icon indicating copy to clipboard operation
robot copied to clipboard

Consider packaging ROBOT with platform-specific packages

Open jamesaoverton opened this issue 4 years ago • 2 comments

After frustration with #826, I did some research. Java 15 comes with a (new?) tool called jpackage which claims to support:

  • Linux: deb, rpm
  • macOS: pkg, app in a dmg
  • Windows: exe, msi

I hope that it would also install Java as required, but I don't know. There are GitHub Actions for this, such as https://github.com/sualeh/build-jpackage, blog post.

Another good target would be Homebrew, but that would require a different tool.

I expect this would be a pain for developers to set up, but hopefully it would "just work" going forward. I think that users would appreciate this but I don't know.

Thoughts? Experience to share? Volunteers?

jamesaoverton avatar Feb 17 '21 15:02 jamesaoverton

We may want to look into making a Graal native image so we can provide a single-file native executable for Mac and others. Probably makes more sense for a command-line tool vs. packaging as .app. And in my experience Graal has excellent performance.

balhoff avatar Feb 17 '21 15:02 balhoff

Good point @balhoff. That would save the hassle of installing Java.

There would still be the hassle of putting the file on the PATH and making it executable. I guess that's why people use sudo curl http://example.com/install > sh, scary as that is.

jamesaoverton avatar Feb 17 '21 16:02 jamesaoverton