From 49352ae13cd9becc466f3330dab02d77606f6bac Mon Sep 17 00:00:00 2001 From: NLR Date: Mon, 12 Sep 2022 03:00:04 +0000 Subject: [PATCH] org.lichess.mobileapp.free: add Lichess app --- metadata/org.lichess.mobileapp.free.yml | 55 +++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 metadata/org.lichess.mobileapp.free.yml diff --git a/metadata/org.lichess.mobileapp.free.yml b/metadata/org.lichess.mobileapp.free.yml new file mode 100644 index 0000000000..1f7bafcc87 --- /dev/null +++ b/metadata/org.lichess.mobileapp.free.yml @@ -0,0 +1,55 @@ +AntiFeatures: + - NonFreeAssets +Categories: + - Games +License: GPL-3.0-or-later +AuthorName: Lichess +WebSite: https://lichess.org +SourceCode: https://github.com/lichess-org/lichobile/ +IssueTracker: https://github.com/lichess-org/lichobile/issues +Translation: https://crowdin.com/project/lichess +Changelog: https://github.com/lichess-org/lichobile/releases +Donate: https://lichess.org/patron + +AutoName: lichess + +RepoType: git +Repo: https://github.com/lichess-org/lichobile + +Builds: + - versionName: 7.16.0 + versionCode: 7016000 + commit: 242c95b9abc8392f3b71c269be40b0cfe556d62a + subdir: android/app + sudo: + - apt-get update || apt-get update + - apt-get install -y g++ openjdk-11-jdk-headless + - update-alternatives --auto java + - curl -Lo node.tar.xz https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.xz + - echo "f0867d7a17a4d0df7dbb7df9ac3f9126c2b58f75450647146749ef296b31b49b node.tar.xz" + | sha256sum -c - + - tar xJf node.tar.xz --strip-components=1 -C /usr/local/ + init: + - pushd ../.. + - npm install + - PATCH_NONFREE_FORCE=1 npm run patch-nonfree + - touch www/index.html + - npx cap update android + - npm run fetch-nnue + - sed 's/lichess\.dev/lichess.org/g' appconfig.dev.json > appconfig.prod.json + gradle: + - yes + rm: + - ios/ + - node_modules/@capacitor/push-notifications/ + scandelete: + - node_modules/ + build: + - pushd ../.. + - APP_MODE=release APP_CONFIG=prod npm run build + +AutoUpdateMode: Version v%v +UpdateCheckMode: Tags +UpdateCheckName: org.lichess.mobileapp +CurrentVersion: 7.16.0 +CurrentVersionCode: 7016000