Skip to content

Commit

Permalink
fix: Crash on JFX injection when Recaf dir does not already exist
Browse files Browse the repository at this point in the history
But it works when run as root.... idk why.
  • Loading branch information
Col-E committed Dec 30, 2021
1 parent 333a70d commit c8a3cf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>me.coley</groupId>
<artifactId>recaf</artifactId>
<url>https://github.com/Col-E/Recaf/</url>
<version>2.21.7</version>
<version>2.21.8</version>
<name>Recaf</name>
<description>A modern java bytecode editor</description>
<!-- Variables -->
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/coley/recaf/Recaf.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @author Matt
*/
public class Recaf {
public static final String VERSION = "2.21.7";
public static final String VERSION = "2.21.8";
public static final String DOC_URL = "https://col-e.github.io/Recaf-documentation/";
public static final int ASM_VERSION = Opcodes.ASM9;
private static Controller currentController;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private static List<Path> getLocalDependencies() {
try {
Path dependenciesDirectory = Recaf.getDirectory("dependencies");
if (!Files.exists(dependenciesDirectory)) {
Files.createDirectory(dependenciesDirectory);
Files.createDirectories(dependenciesDirectory);
}
for (String dependencyPattern : JFX_DEPENDENCY_URLS) {
// Get appropriate remote URL
Expand Down

0 comments on commit c8a3cf8

Please sign in to comment.