Improvement: check if the OS and the GPU are supported by the application

This commit is contained in:
Laurent Clouet
2014-12-17 21:47:31 +00:00
parent b4d64bb754
commit ea7997c625
4 changed files with 37 additions and 1 deletions

View File

@@ -77,7 +77,12 @@ public class CPU {
this.arch = "64bit";
}
else {
this.arch = "xxbit";
this.arch = null;
}
}
public boolean haveData() {
return this.name != null && this.model != null && this.family != null && this.arch != null;
}
}