mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-19 08:17:35 +01:00
Merge branch 'master' of github.com:teprrr/Apktool into teprrr-master
This commit is contained in:
commit
2ca606c04d
@ -49,7 +49,12 @@ public class ApktoolProperties {
|
|||||||
LOGGER.warning("Can't load properties.");
|
LOGGER.warning("Can't load properties.");
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream templateStream = baksmali.class.getClassLoader().getResourceAsStream("baksmali.properties");
|
InputStream templateStream = null;
|
||||||
|
try {
|
||||||
|
templateStream = baksmali.class.getClassLoader().getResourceAsStream("baksmali.properties");
|
||||||
|
} catch(NoClassDefFoundError ex) {
|
||||||
|
LOGGER.warning("Can't load baksmali properties.");
|
||||||
|
}
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
String version = "(unknown)";
|
String version = "(unknown)";
|
||||||
|
|
||||||
@ -62,7 +67,12 @@ public class ApktoolProperties {
|
|||||||
}
|
}
|
||||||
sProps.put("baksmaliVersion", version);
|
sProps.put("baksmaliVersion", version);
|
||||||
|
|
||||||
|
templateStream = null;
|
||||||
|
try {
|
||||||
templateStream = main.class.getClassLoader().getResourceAsStream("smali.properties");
|
templateStream = main.class.getClassLoader().getResourceAsStream("smali.properties");
|
||||||
|
} catch(NoClassDefFoundError ex) {
|
||||||
|
LOGGER.warning("Can't load smali properties.");
|
||||||
|
}
|
||||||
properties = new Properties();
|
properties = new Properties();
|
||||||
version = "(unknown)";
|
version = "(unknown)";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user