Skip to content

Commit

Permalink
Added better startup at boot support for jpackage-built binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
rnayabed committed Jun 29, 2021
1 parent a5df823 commit 257a814
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ else if(serverPort > 65535)
if(StartupFlags.APPEND_PATH_BEFORE_RUNNER_FILE_TO_OVERCOME_JPACKAGE_LIMITATION)
{
startAtBoot.create(new File(Main.class.getProtectionDomain().getCodeSource().getLocation()
.toURI()).getParentFile().getParentFile().getAbsolutePath() +
.toURI()).getParentFile().getParentFile().getParentFile().getAbsolutePath() +
"/bin/" + StartupFlags.RUNNER_FILE_NAME);
}
else
Expand Down

0 comments on commit 257a814

Please sign in to comment.