|
@@ -1,5 +1,7 @@
|
|
|
package aapt
|
|
|
|
|
|
+import "notabug.org/Umnik/GoAndroidSDK/common"
|
|
|
+
|
|
|
//RemoveFilesFrom removes files from apk files
|
|
|
//goland:noinspection GoUnnecessarilyExportedIdentifiers
|
|
|
func (aapt Aapt) RemoveFilesFrom(zipFile string, files ...string) ([]byte, error) {
|
|
@@ -27,3 +29,9 @@ func (aapt Aapt) DumpAppInfo(apkFile string) ([]byte, error) {
|
|
|
func (aapt Aapt) DumpResources(apkFile string) ([]byte, error) {
|
|
|
return aapt.ExecWithVarArgs("dump", "--values", "resources", apkFile)
|
|
|
}
|
|
|
+
|
|
|
+//Version returns aapt's version
|
|
|
+//goland:noinspection GoUnnecessarilyExportedIdentifiers
|
|
|
+func (aapt Aapt) Version() ([]byte, error) {
|
|
|
+ return common.ExecWithVarArgs(aapt, "version")
|
|
|
+}
|