mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 06:59:24 +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");
|
zip_properties.put("encoding", "UTF-8");
|
||||||
|
|
||||||
// create filesystem
|
// 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)) {
|
try(FileSystem zipFS = FileSystems.newFileSystem(apkFileSystem, zip_properties)) {
|
||||||
|
|
||||||
// loop through files inside
|
// loop through files inside
|
||||||
|
Loading…
Reference in New Issue
Block a user