fix: enable 9patch decoder on any OS

This commit is contained in:
Lucaskyy 2022-06-28 19:35:02 +02:00
parent d9deba1015
commit 8cdd9484f7
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
2 changed files with 2 additions and 7 deletions

View File

@ -89,12 +89,7 @@ public class ResFileDecoder {
}
try {
// ReVanced - copy raw on Android
if (OSDetection.isAndroid()) {
copyRaw(inDir, outDir, inFileName, outFileName);
} else {
decode(inDir, inFileName, outDir, outFileName, "9patch");
}
decode(inDir, inFileName, outDir, outFileName, "9patch");
return;
} catch (CantFind9PatchChunkException ex) {
LOGGER.log(

View File

@ -45,7 +45,7 @@ buildscript {
apply from: 'gradle/functions.gradle'
version = '2.6.8'
version = '2.6.9'
def suffix = 'SNAPSHOT'
defaultTasks 'build', 'shadowJar', 'proguard'