fix(gui): fix illegal ':' character in path when exporting resources.arsc/res

This commit is contained in:
Jan S.
2026-02-01 12:26:15 +01:00
committed by skylot
parent 331c4aaa5e
commit e6b38e172a
2 changed files with 2 additions and 2 deletions
@@ -120,7 +120,7 @@ public class JResourcePopupMenu extends JPopupMenu {
Path subSavePath = savePath.resolve(resource.getName());
try {
if (!Files.isDirectory(subSavePath)) {
Files.createDirectory(subSavePath);
Files.createDirectories(subSavePath);
}
} catch (IOException e) {
throw new RuntimeException(e);
@@ -31,7 +31,7 @@ public class ResTableHelper {
private final String resNamePrefix;
private ResTableHelper(String resTableFileName) {
this.resNamePrefix = resTableFileName + ":/";
this.resNamePrefix = resTableFileName + "/";
}
private void process(ResContainer resTable) {