Skip to content

Commit

Permalink
fix: Crash on attempt to pull JFX deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Dec 15, 2021
1 parent 4b82d8c commit b382ee7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ private static List<Path> getLocalDependencies() {
List<Path> dependencyPaths = new ArrayList<>();
try {
Path dependenciesDirectory = Recaf.getDirectory("dependencies");
if (!Files.exists(dependenciesDirectory)) {
Files.createDirectory(dependenciesDirectory);
}
for (String dependencyPattern : JFX_DEPENDENCY_URLS) {
// Get appropriate remote URL
String dependencyUrlPath = String.format(dependencyPattern, JFX_CLASSIFIER);
Expand Down

0 comments on commit b382ee7

Please sign in to comment.