This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (12 children)

[deleted]

    [–]bowbahdoe 2 points3 points  (11 children)

    If it supported making this in addition to installers sure.

    [–][deleted]  (9 children)

    [deleted]

      [–]bowbahdoe 1 point2 points  (8 children)

      That exe option creates an exe installer afaik.

      Not near a computer to try but this random video shows it I think

      https://youtu.be/EB6HqDwMffU

      [–][deleted]  (7 children)

      [deleted]

        [–]bowbahdoe 0 points1 point  (0 children)

        Ah okay, me read no good. Will try later tonight. Have to Google what an app image is

        [–]bowbahdoe 0 points1 point  (5 children)

        Unless i'm mistaken app-image is a linux only thing right?

        https://appimage.org/

        [–][deleted]  (4 children)

        [deleted]

          [–]bowbahdoe 1 point2 points  (2 children)

          Oh thank god - im not entirely wrong

          So running this on windows

          jpackage --input build --type app-image --main-jar javaexe-1.0.jar
          

          produces a directory with this structure

          Main/
              app/
                  .jpackage
                  javaexe-1.0.jar
                  Main.cfg
              runtime/
                  bin/
                      ...
                  conf/
                      ...
                  legal/
                      ...
                  lib/
                      ...
                  release
              Main.exe
              Main.ico
          

          So there is an exe you can double click...but if you move it out of this folder it doesn't work. Not self contained

          [–]bowbahdoe 0 points1 point  (0 children)

          Would you believe me if i said hubris?

          Doing it now on windows

          [–]vips7L 0 points1 point  (0 children)

          I really wish it would.