Fix for Pi OS detection

This commit is contained in:
Banks Troutman
2019-10-07 16:36:53 -04:00
parent 53585be088
commit 34c88cb9a4
4 changed files with 45 additions and 18 deletions

View File

@@ -105,6 +105,13 @@ public class Main {
}
public static void main(String[] args) {
if (CurrentPlatform.equals(Platform.UNSUPPORTED)) {
System.err.printf("Sorry, this platform is not supported. Give these details to the developers.\n%s\n", CurrentPlatform.toString());
return;
} else {
System.out.printf("Starting Chameleon Vision on platform %s\n", CurrentPlatform.toString());
}
handleArgs(args);
if (!CurrentPlatform.isRoot()) {