forked from Qortal/qortal
Browse Source
AdvancedInstaller's Java launcher EXE seems to use JNI to launch the JAR, instead of using the command-line 'java' binary directly. When AI's launcher does this, it adds options like "abort" and "exit", along with corresponding hook addresses. These options are returned by the call to ManagementFactory.getRuntimeMXBean().getInputArguments() which is done in AutoUpdate while building the command line for launching ApplyUpdate. Because command-line 'java' binary doesn't support these options, they are now stripped out.split-DB
catbref
5 years ago
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue