mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2024-12-22 23:29:34 +00:00
Added John Matthews "ac" utility.
This commit is contained in:
parent
38b8db49c3
commit
7084b35a9f
@ -19,6 +19,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.webcodepro.applecommander.ui;
|
package com.webcodepro.applecommander.ui;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
@ -43,7 +44,7 @@ public class AppleCommander {
|
|||||||
/**
|
/**
|
||||||
* Launch AppleCommander.
|
* Launch AppleCommander.
|
||||||
*/
|
*/
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) throws IOException {
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
if (isSwtAvailable()) {
|
if (isSwtAvailable()) {
|
||||||
launchSwtAppleCommander(args);
|
launchSwtAppleCommander(args);
|
||||||
@ -63,8 +64,7 @@ public class AppleCommander {
|
|||||||
System.err.println("Sorry, the command line user interface is not available (yet).");
|
System.err.println("Sorry, the command line user interface is not available (yet).");
|
||||||
//CommandLineAppleCommander.main(extraArgs);
|
//CommandLineAppleCommander.main(extraArgs);
|
||||||
} else {
|
} else {
|
||||||
System.err.println("Unknown user interface specified!");
|
ac.main(args);
|
||||||
System.err.println("Use -swt, -swing, or -command.");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user