rename directory exec -> exec.WIN

This commit is contained in:
nisihara1 2017-05-12 23:56:22 +09:00
parent 8c28a7a8c2
commit 6d76824542
18 changed files with 15 additions and 12 deletions

1
exec.MAC/dummy.txt Normal file
View File

@ -0,0 +1 @@

View File

@ -139,20 +139,22 @@ public class QEFXMain extends Application {
}
private void setBinaryPath() {
if (!Environments.isWindows()) {
return;
File dirFile = null;
if (Environments.isWindows()) {
dirFile = new File("exec.WIN");
} else if (Environments.isMac()) {
dirFile = new File("exec.MAC");
}
File dirFile = new File("exec");
String qePath = QEPath.getPath();
if (qePath == null || qePath.trim().isEmpty()) {
QEPath.setPath(new File(dirFile, "qe"));
}
String mpiPath = QEPath.getMPIPath();
if (mpiPath == null || mpiPath.trim().isEmpty()) {
QEPath.setMPIPath(new File(dirFile, "mpi"));
if (dirFile != null) {
String qePath = QEPath.getPath();
if (qePath == null || qePath.trim().isEmpty()) {
QEPath.setPath(new File(dirFile, "qe"));
}
String mpiPath = QEPath.getMPIPath();
if (mpiPath == null || mpiPath.trim().isEmpty()) {
QEPath.setMPIPath(new File(dirFile, "mpi"));
}
}
}