This commit is contained in:
@@ -21,6 +21,7 @@ public class CMDApplication extends Application {
|
|||||||
|
|
||||||
public void initialise() throws ApplicationInitialiseException {
|
public void initialise() throws ApplicationInitialiseException {
|
||||||
String key = String.format("%s\\%s", REGISTRY, program);
|
String key = String.format("%s\\%s", REGISTRY, program);
|
||||||
|
// Check of naam is gevonden in register
|
||||||
String path = Native.getValue(key);
|
String path = Native.getValue(key);
|
||||||
try {
|
try {
|
||||||
String command = path.startsWith("\"") ? path : String.format("\"%s\"", path);
|
String command = path.startsWith("\"") ? path : String.format("\"%s\"", path);
|
||||||
|
|||||||
Reference in New Issue
Block a user