Update Canta to 3.0.0 (218)

This commit is contained in:
F-Droid checkupdates bot 2025-06-25 05:27:22 +00:00 committed by linsui
parent bf807b1c64
commit 7da624b948
2 changed files with 67 additions and 4 deletions

View file

@ -0,0 +1,42 @@
AntiFeatures:
NonFreeDep:
en-US: Depends on Shizuku for functionality
NonFreeNet:
en-US: Connects to Github as app info data source
Categories:
- System
License: LGPL-3.0-or-later
SourceCode: https://github.com/samolego/Canta
IssueTracker: https://github.com/samolego/Canta/issues
AutoName: Canta
RepoType: git
Repo: https://github.com/samolego/Canta.git
Builds:
- versionName: 3.0.0
versionCode: 218
commit: b8b7c92579554c390dabcc11f81d342b655da992
subdir: app
gradle:
- yes
binary: https://github.com/samolego/Canta/releases/download/%v/app-release.apk
rm:
- docs
postbuild:
- curl -Lo upstream.apk https://github.com/samolego/Canta/releases/download/$$VERSION$$/app-release.apk
- unzip -q upstream.apk -d apk
- export hash=$(sha256sum apk/assets/dexopt/baseline.prof)
- rm -rf apk upstream.apk
- for i in {1..10}; do unzip -q $$OUT$$ -d apk; sha256sum -c - <<< $hash &&
break; sha256sum apk/assets/dexopt/baseline.prof; rm -fr apk; gradle clean
assembleRelease; done
AllowedAPKSigningKeys: 0a2640317c43272188c3e13194c15460691f12c39ea19bba727dd67fb56289d4
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: app/gradle.properties|version_code=(\d+)|.|version_name=(.+)
CurrentVersion: 3.0.0
CurrentVersionCode: 218

View file

@ -700,10 +700,31 @@ Builds:
assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash
]] && break ; popd; rm -fr local; done
- versionName: 2.5.1
versionCode: 217
commit: 5376ee49d064ee41cefb28daed1a6e72bc431ea7
subdir: app
output: build/outputs/apk/release/*apk
binary: https://github.com/samolego/Canta/releases/download/%v/app-release.apk
rm:
- docs
prebuild: gradle clean
build:
- mkdir upstream
- pushd upstream
- curl -L -o upstream.apk https://github.com/samolego/Canta/releases/download/$$VERSION$$/app-release.apk
- unzip -q upstream.apk
- export upstreamhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1)
- popd
- for i in {1..10}; do gradle clean assembleRelease; mkdir local; pushd local;
unzip -q ../build/outputs/apk/release/*.apk; export localhash=$(sha256sum
assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash
]] && break ; popd; rm -fr local; done
AllowedAPKSigningKeys: 0a2640317c43272188c3e13194c15460691f12c39ea19bba727dd67fb56289d4
AutoUpdateMode: Version
UpdateCheckMode: Tags
AutoUpdateMode: None
UpdateCheckMode: None
UpdateCheckData: app/gradle.properties|version_code=(\d+)|.|version_name=(.+)
CurrentVersion: 2.5.0
CurrentVersionCode: 209
CurrentVersion: 2.5.1
CurrentVersionCode: 217