Skip to content

Commit

Permalink
Updated the launcher which now uses javaw on windows, and also passes…
Browse files Browse the repository at this point in the history
… the jdeploy.prerelease system property to java so that the installer knows if it is in prerelease mode.
  • Loading branch information
shannah committed Jan 16, 2022
1 parent 5099af0 commit 6998571
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,12 @@ private static File findBundleAppXml(File appBundle) {
}

private static boolean isPrerelease(File appBundle) {
if ("true".equals(System.getProperty("jdeploy.prerelease", "false"))) {
// This property is passed in by the launcher if the app.xml contained the prerelease
// attribute set to true. This is useful so that the installer knows whether it is a
// prerelease - in which case it will be obtaining bundles for prerelease builds.
return true;
}
if (!findBundleAppXml(appBundle).exists()) {
return false;
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 6998571

Please sign in to comment.