mirror of
https://github.com/revanced/Apktool.git
synced 2024-08-17 04:40:38 +02:00
forgot to update Properties.java lol.
This commit is contained in:
parent
dd881e21d1
commit
c676ad1c60
@ -39,7 +39,7 @@ public class ApktoolProperties {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void loadProps() {
|
private static void loadProps() {
|
||||||
InputStream in = main.class.getResourceAsStream("/properties/apktool.properties");
|
InputStream in = ApktoolProperties.class.getResourceAsStream("/properties/apktool.properties");
|
||||||
sProps = new Properties();
|
sProps = new Properties();
|
||||||
try {
|
try {
|
||||||
sProps.load(in);
|
sProps.load(in);
|
||||||
@ -48,7 +48,7 @@ public class ApktoolProperties {
|
|||||||
LOGGER.warning("Can't load properties.");
|
LOGGER.warning("Can't load properties.");
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream templateStream = main.class.getClassLoader().getResourceAsStream("/properties/baksmali.properties");
|
InputStream templateStream = ApktoolProperties.class.getResourceAsStream("/properties/baksmali.properties");
|
||||||
Properties properties = new Properties();
|
Properties properties = new Properties();
|
||||||
String version = "(unknown)";
|
String version = "(unknown)";
|
||||||
try {
|
try {
|
||||||
@ -57,7 +57,7 @@ public class ApktoolProperties {
|
|||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
}
|
}
|
||||||
sProps.put("baksmaliVersion", version);
|
sProps.put("baksmaliVersion", version);
|
||||||
templateStream = main.class.getClassLoader().getResourceAsStream("/properties/smali.properties");
|
templateStream = ApktoolProperties.class.getResourceAsStream("/properties/smali.properties");
|
||||||
properties = new Properties();
|
properties = new Properties();
|
||||||
version = "(unknown)";
|
version = "(unknown)";
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user