jdeploy-installer 3.4.1 → 3.4.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.
@@ -47,7 +47,13 @@ function njreWrap() {
47
47
 
48
48
  function download (dir, url) {
49
49
  if (url.indexOf("?") > 0 || jdkProvider === 'zulu') {
50
- var destName = bundleType + ".zip";
50
+ var ext = ".zip";
51
+ switch (process.platform) {
52
+ case 'linux':
53
+ ext = ".tar.gz";
54
+ break;
55
+ }
56
+ var destName = bundleType + ext;
51
57
  } else {
52
58
  destName = path.basename(url);
53
59
  }
@@ -286,6 +292,7 @@ function njreWrap() {
286
292
 
287
293
  };
288
294
 
295
+
289
296
  var zuluBaseURL = "https://api.azul.com/zulu/download/community/v1.0/bundles/latest/binary?"
290
297
  if (!options.os) {
291
298
  switch (process.platform) {
@@ -295,6 +302,7 @@ function njreWrap() {
295
302
  break
296
303
  case 'linux':
297
304
  q.os = 'linux'
305
+ q.ext = 'tar.gz'
298
306
  break
299
307
 
300
308
  case 'win32':
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":"3.4.1","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"}}
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":"3.4.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"}}