fix(gui): fix illegal ':' character in path when exporting resources.arsc/res
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user