fix: enable 9patch decoder on any OS
This commit is contained in:
parent
d9deba1015
commit
8cdd9484f7
|
@ -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(
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue