coach-vision 0.5.0-alpha → 0.6.0-alpha
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var path = require('path');
|
|
4
4
|
var os = require('os');
|
|
5
5
|
var jdeployHomeDir = process.env.JDEPLOY_HOME || path.join(os.homedir(), '.jdeploy');
|
|
6
|
-
var jarName = "coach-vision-0.
|
|
6
|
+
var jarName = "coach-vision-0.6.0-SNAPSHOT.jar";
|
|
7
7
|
var mainClass = "{{MAIN_CLASS}}";
|
|
8
8
|
var classPath = "{{CLASSPATH}}";
|
|
9
9
|
var port = "0";
|
|
@@ -539,7 +539,7 @@ if (!done) {
|
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
if (!done) {
|
|
542
|
-
console.
|
|
542
|
+
console.error("Downloading java runtime environment for version "+targetJavaVersion);
|
|
543
543
|
njre.install(targetJavaVersion, {type: bundleType, javafx: javafx}).then(function(dir) {
|
|
544
544
|
var _javaHome = getJavaHomeInPath(dir);
|
|
545
545
|
if (_javaHome == null)
|
|
@@ -588,6 +588,7 @@ function run(_javaHome) {
|
|
|
588
588
|
|
|
589
589
|
var userArgs = process.argv.slice(2);
|
|
590
590
|
var javaArgs = [];
|
|
591
|
+
javaArgs.push('-Djdeploy.mode=npx');
|
|
591
592
|
javaArgs.push('-Djdeploy.base='+__dirname);
|
|
592
593
|
javaArgs.push('-Djdeploy.port='+port);
|
|
593
594
|
javaArgs.push('-Djdeploy.war.path='+warPath);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"license":"ISC","bin":{"coach-vision":"jdeploy-bundle/jdeploy.js"},"author":"bercait","name":"coach-vision","description":"Data visualization for sport coach","files":["jdeploy-bundle"],"main":"index.js","preferGlobal":true,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"version":"0.
|
|
1
|
+
{"license":"ISC","bin":{"coach-vision":"jdeploy-bundle/jdeploy.js"},"author":"bercait","name":"coach-vision","description":"Data visualization for sport coach","files":["jdeploy-bundle"],"main":"index.js","preferGlobal":true,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"version":"0.6.0-alpha","jdeploy":{"checksums":{"icon.png":"76a360b9afd46c9861aa08537826950a"},"fallbackToUniversal":false,"buildCommand":["./mvnw","package"],"mainClass":"pt.bercait.sports.coachvision.Launcher","publishTargets":[{"name":"npm: npm","type":"NPM","url":""}],"javaVersion":"25","jar":"target/coach-vision-0.6.0-SNAPSHOT.jar","javafx":true,"title":"Coach Vision","downloadPage":{"platforms":["default"]},"platformBundlesEnabled":false},"dependencies":{"njre":"^0.2.0","shelljs":"^0.8.4"}}
|