mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-20 16:57:34 +01:00
fix for Windows Env using FileSystem, thanks @BurgerZ
This commit is contained in:
parent
c6861e1241
commit
cfac52a744
@ -551,7 +551,8 @@ public class Androlib {
|
||||
zip_properties.put("encoding", "UTF-8");
|
||||
|
||||
// create filesystem
|
||||
URI apkFileSystem = URI.create("jar:file:" + outFile.getAbsolutePath());
|
||||
Path path = Paths.get(outFile.getAbsolutePath());
|
||||
URI apkFileSystem = URI.create("jar:file:" + path.toUri().getPath());
|
||||
try(FileSystem zipFS = FileSystems.newFileSystem(apkFileSystem, zip_properties)) {
|
||||
|
||||
// loop through files inside
|
||||
|
Loading…
x
Reference in New Issue
Block a user