jdeploy-installer 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -409,6 +409,11 @@ function getJavaHomeInPath(basepath) {
|
|
|
409
409
|
|
|
410
410
|
function findSupportedRuntime(javaVersion, jdk, javafx) {
|
|
411
411
|
var jdeployDir = path.join(os.homedir(), ".jdeploy");
|
|
412
|
+
var JAVA_HOME_OVERRIDE = env['JDEPLOY_JAVA_HOME_OVERRIDE'];
|
|
413
|
+
|
|
414
|
+
if (JAVA_HOME_OVERRIDE && fs.existsSync(JAVA_HOME_OVERRIDE)) {
|
|
415
|
+
return JAVA_HOME_OVERRIDE;
|
|
416
|
+
}
|
|
412
417
|
|
|
413
418
|
// First check for the full-meal deal
|
|
414
419
|
var _javaHomePath = getJavaHomeInPath(path.join(jdeployDir, 'jdk', javaVersion+'fx', 'jdk'));
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"bin":{"jdeploy-installer":"jdeploy-bundle/jdeploy.js"},"author":"Steve Hannah","description":"Desktop installer for Java applications deployed using jDeploy","main":"index.js","preferGlobal":true,"repository":{"type":"git","directory":"installer","url":"https://github.com/shannah/jdeploy.git"},"version":"4.0.
|
|
1
|
+
{"bin":{"jdeploy-installer":"jdeploy-bundle/jdeploy.js"},"author":"Steve Hannah","description":"Desktop installer for Java applications deployed using jDeploy","main":"index.js","preferGlobal":true,"repository":{"type":"git","directory":"installer","url":"https://github.com/shannah/jdeploy.git"},"version":"4.0.2","jdeploy":{"checksums":{},"fork":false,"notarize":false,"macAppBundleId":"HRNMHC7527.ca.weblite.jdeploy.installer","bundles":["mac-x64","mac-arm64","win","linux"],"jar":"target/jdeploy-installer-1.0-SNAPSHOT.jar","codesign":true},"dependencies":{"shelljs":"^0.8.4"},"license":"ISC","name":"jdeploy-installer","files":["jdeploy-bundle"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"}}
|