mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-16 17:39:24 +01:00
cleanup new lines and fixup revision properties
This commit is contained in:
parent
a91e87bb04
commit
dc2b2fecb8
@ -651,10 +651,7 @@ public class Androlib {
|
||||
}
|
||||
|
||||
public static String getVersion() {
|
||||
String version = ApktoolProperties.get("application.version");
|
||||
return version.endsWith("-SNAPSHOT") ? version.substring(0,
|
||||
version.length() - 9)
|
||||
+ '.' + ApktoolProperties.get("git.commit.id.abbrev") : version;
|
||||
return ApktoolProperties.get("application.version");
|
||||
}
|
||||
|
||||
private File[] parseUsesFramework(Map<String, Object> usesFramework)
|
||||
|
@ -62,7 +62,6 @@ public class ApktoolProperties {
|
||||
}
|
||||
sProps.put("baksmaliVersion", version);
|
||||
|
||||
|
||||
templateStream = main.class.getClassLoader().getResourceAsStream("smali.properties");
|
||||
properties = new Properties();
|
||||
version = "(unknown)";
|
||||
|
Loading…
Reference in New Issue
Block a user