New app: trailence.org

This commit is contained in:
Guillaume Le Cousin 2025-10-31 05:53:15 +01:00 committed by linsui
parent 12a2d3f6ac
commit ea80f4bdc7

View file

@ -0,0 +1,60 @@
AntiFeatures:
TetheredNet:
en-US: Rely on trailence.org and openstreetmap.org
NonFreeNet:
en-US: Rely on freeipapi.com
Categories:
- Navigation
- Sports & Health
License: Apache-2.0
AuthorName: Trailence
AuthorEmail: contact@trailence.org
AuthorWebSite: https://trailence.org
WebSite: https://trailence.org
SourceCode: https://github.com/trailence/trailence-front
IssueTracker: https://github.com/trailence/trailence-front/issues
Donate: https://trailence.org/donation
AutoName: Trailence
RepoType: git
Repo: https://github.com/trailence/trailence-front.git
Binaries: https://github.com/trailence/trailence-front/releases/download/%v/trailence-fdroid-%v.apk
Builds:
- versionName: 1.1.8
versionCode: 10108
commit: a171e3bcdf9eef37ca554f9c4f23963a4fbb8288
subdir: android/app
sudo:
- curl -Lo node.tar.gz https://nodejs.org/download/release/v22.20.0/node-v22.20.0-linux-x64.tar.gz
- echo "eeaccb0378b79406f2208e8b37a62479c70595e20be6b659125eb77dd1ab2a29 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g npm@latest
- npm install -g @ionic/cli @angular/cli
- echo "deb https://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
- apt-get update
- apt-get install -y -t trixie openjdk-21-jdk-headless
- update-alternatives --auto java
gradle:
- yes
prebuild:
- cd ../..
- npm ci
- ionic capacitor sync android --configuration=android-fdroid
- cd android
- rm -rf app/src/main/assets/public/{assets/{apk,admin,home-page,mentions-legales.1.html},media}
- cp -R environments/fdroid/* .
- sed -i -e 's/8.13.0/8.11.1/' -e '/keys/d' build.gradle
scandelete:
- node_modules/
- e2e/
AllowedAPKSigningKeys: e441b156bc74535c82eb1a85521275b470b73855e792a7bde7e9cd454f5dbbc5
AutoUpdateMode: Version
UpdateCheckMode: Tags
UpdateCheckData: android/version.gradle|versionCode\s=\s(\d+)|.|versionName\s=\s'([\d.]+)'
CurrentVersion: 1.1.8
CurrentVersionCode: 10108