refactor: move tools to subdirs

Esse commit está contido em:
Francesco Tescari
2021-10-06 15:18:19 +02:00
commit f49a44031a
15 arquivos alterados com 11 adições e 1 exclusões
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
@@ -152,12 +152,22 @@ public class ResourcesManager {
return currentPath;
}
private static String getOSDir() {
if (ResourcesConst.isWindows()) {
return "win";
} else if (ResourcesConst.isMac()) {
return "mac";
} else {
return "lin";
}
}
public static Path getResourcesPath() {
return getCurrentPath().resolve(RESOURCE_DIR);
}
public static Path getToolsPath() {
return getResourcesPath().resolve(TOOLS_DIR);
return getResourcesPath().resolve(TOOLS_DIR).resolve(getOSDir());
}
public static Path getToolPath(String path) {