discoverj 177.0.0 → 185.0.0

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
@@ -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":{"disCoverJ":"jdeploy-bundle/jdeploy.js"},"author":"Rouven Himmelstein","description":" A simple tool that allows you to automatically embed cover images into your audio files.","main":"index.js","preferGlobal":true,"repository":"https://github.com/RouHim/disCoverJ","version":"177.0.0","jdeploy":{"jdk":false,"checksums":{"icon.png":"92e41f22b1f6f0cb890a9632133cecea"},"javaVersion":"17","jar":"target/disCoverJ.jar","javafx":true,"title":"disCoverJ"},"dependencies":{"njre":"^0.3.0","shelljs":"^0.8.4"},"license":"GPL-2.0 License","name":"discoverj","files":["jdeploy-bundle"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/RouHim/disCoverJ"}
1
+ {"bin":{"disCoverJ":"jdeploy-bundle/jdeploy.js"},"author":"Rouven Himmelstein","description":" A simple tool that allows you to automatically embed cover images into your audio files.","main":"index.js","preferGlobal":true,"repository":"https://github.com/RouHim/disCoverJ","version":"185.0.0","jdeploy":{"jdk":false,"checksums":{"icon.png":"92e41f22b1f6f0cb890a9632133cecea"},"javaVersion":"17","jar":"target/disCoverJ.jar","javafx":true,"title":"disCoverJ"},"dependencies":{"njre":"^0.3.0","shelljs":"^0.8.4"},"license":"GPL-2.0 License","name":"discoverj","files":["jdeploy-bundle"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":"https://github.com/RouHim/disCoverJ"}