boring little details
This commit is contained in:
parent
c24b0c2f83
commit
6b4cbecd24
|
@ -12,6 +12,7 @@ import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
import java.net.URLClassLoader;
|
import java.net.URLClassLoader;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.concurrent.CountDownLatch;
|
import java.util.concurrent.CountDownLatch;
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
@ -42,7 +43,7 @@ public class Autoupdate {
|
||||||
private static void startConsole(String[] args) {
|
private static void startConsole(String[] args) {
|
||||||
try {
|
try {
|
||||||
// we want to make sure that files are available to write so we use reflection to get lazy class initialization
|
// we want to make sure that files are available to write so we use reflection to get lazy class initialization
|
||||||
System.out.println("Running rusEFI console");
|
System.out.println("Running rusEFI console with " + Arrays.toString(args));
|
||||||
// since we are overriding file we cannot just use static java classpath while launching
|
// since we are overriding file we cannot just use static java classpath while launching
|
||||||
URLClassLoader jarClassLoader = AutoupdateUtil.getClassLoaderByJar(RUSEFI_CONSOLE_JAR);
|
URLClassLoader jarClassLoader = AutoupdateUtil.getClassLoaderByJar(RUSEFI_CONSOLE_JAR);
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd console
|
||||||
|
java -jar rusefi_autoupdate.jar version
|
|
@ -54,7 +54,7 @@ cp java_tools/ts_plugin_launcher/build/jar/rusefi_plugin_launcher.jar $CONSOLE_F
|
||||||
cp simulator/build/rusefi_simulator.exe $CONSOLE_FOLDER
|
cp simulator/build/rusefi_simulator.exe $CONSOLE_FOLDER
|
||||||
cp misc/console_launcher/rusefi_*.exe $CONSOLE_FOLDER
|
cp misc/console_launcher/rusefi_*.exe $CONSOLE_FOLDER
|
||||||
cp java_console/rusefi.xml $CONSOLE_FOLDER
|
cp java_console/rusefi.xml $CONSOLE_FOLDER
|
||||||
cp java_console/bin $FOLDER
|
cp -r java_console/bin $FOLDER
|
||||||
|
|
||||||
cp misc/console_launcher/readme.html $FOLDER
|
cp misc/console_launcher/readme.html $FOLDER
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue