feat: clanker fixxes + postgress

This commit is contained in:
2026-10-18 01:50:08 +02:00
parent 95a25453df
commit 6c3b2bdc1f
18 changed files with 829 additions and 180 deletions
-16
View File
@@ -10,22 +10,6 @@ type Info struct {
VersionCode int32
}
// Version returns the versionName from an APK's manifest.
func Version(path string) (string, error) {
a, err := apk.OpenFile(path)
if err != nil {
return "", err
}
defer a.Close()
v, err := a.Manifest().VersionName.String()
if err != nil {
return "", err
}
return v, nil
}
// Read returns version name and version code from an APK's manifest.
func Read(path string) (*Info, error) {
a, err := apk.OpenFile(path)