From 0e97678536c7573ed9e5386ac832879e7023302c Mon Sep 17 00:00:00 2001 From: Ujwal Date: Sat, 28 Feb 2026 16:04:00 +0545 Subject: [PATCH] Trying to Get App in F-Droid. --- .fdroid.yml | 49 +++++++++++++++++++------------- metadata/com.ujwal.focusgram.yml | 24 ++++++++++------ 2 files changed, 44 insertions(+), 29 deletions(-) diff --git a/.fdroid.yml b/.fdroid.yml index b1b70d4..a345f17 100644 --- a/.fdroid.yml +++ b/.fdroid.yml @@ -1,21 +1,14 @@ Categories: - - System - - Productivity + - Connectivity + - Social Network License: AGPL-3.0-only +AuthorName: Ujwal Chapagain +AuthorEmail: notujwal@proton.me SourceCode: https://github.com/Ujwal223/FocusGram IssueTracker: https://github.com/Ujwal223/FocusGram/issues +Changelog: https://github.com/Ujwal223/FocusGram/blob/main/CHANGELOG.md -Summary: A wellness-focused Instagram web wrapper - -Description: |- - FocusGram is a digital wellness tool that loads instagram.com inside a secure Android WebView. It is designed to help you stay focused by filtering out distractions and enforcing session limits. - - Key Features: - - Client-side content filtering (blur explore, hide reels) - - Customizable session timers and daily limits - - Mindfulness breath gate before opening - - No proprietary SDKs, analytics, or tracking - - Fully FOSS and privacy-respecting +AutoName: FocusGram RepoType: git Repo: https://github.com/Ujwal223/FocusGram @@ -23,14 +16,30 @@ Repo: https://github.com/Ujwal223/FocusGram Builds: - versionName: 1.0.0 versionCode: 3 - commit: main - subdir: . - gradle: - - yes - scanned: - - yes + commit: v1.0.0 + output: build/app/outputs/flutter-apk/app-release.apk + srclibs: + - flutter@stable + prebuild: + - flutterVersion=$(sed -n -E "s/.*flutter-version:\ '(.*)'/\1/p" .github/workflows/release.yml) + - '[[ $flutterVersion ]]' + - git -C $$flutter$$ checkout -f $flutterVersion + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter config --no-analytics + - .flutter/bin/flutter pub get + scanignore: + - .flutter/bin/cache + scandelete: + - .flutter + - .pub-cache + build: + - export PUB_CACHE=$(pwd)/.pub-cache + - .flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64" -AutoUpdateMode: Version v%v +AutoUpdateMode: Version UpdateCheckMode: Tags +VercodeOperation: + - '%c * 10 + 1' +UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ CurrentVersion: 1.0.0 CurrentVersionCode: 3 diff --git a/metadata/com.ujwal.focusgram.yml b/metadata/com.ujwal.focusgram.yml index ee5b47d..a345f17 100644 --- a/metadata/com.ujwal.focusgram.yml +++ b/metadata/com.ujwal.focusgram.yml @@ -1,25 +1,29 @@ Categories: - - Multimedia + - Connectivity - Social Network License: AGPL-3.0-only +AuthorName: Ujwal Chapagain +AuthorEmail: notujwal@proton.me SourceCode: https://github.com/Ujwal223/FocusGram IssueTracker: https://github.com/Ujwal223/FocusGram/issues +Changelog: https://github.com/Ujwal223/FocusGram/blob/main/CHANGELOG.md + AutoName: FocusGram + RepoType: git Repo: https://github.com/Ujwal223/FocusGram + Builds: - versionName: 1.0.0 versionCode: 3 commit: v1.0.0 - submodules: true output: build/app/outputs/flutter-apk/app-release.apk - rm: - - ios - - linux - - macos - - web - - windows + srclibs: + - flutter@stable prebuild: + - flutterVersion=$(sed -n -E "s/.*flutter-version:\ '(.*)'/\1/p" .github/workflows/release.yml) + - '[[ $flutterVersion ]]' + - git -C $$flutter$$ checkout -f $flutterVersion - export PUB_CACHE=$(pwd)/.pub-cache - .flutter/bin/flutter config --no-analytics - .flutter/bin/flutter pub get @@ -31,9 +35,11 @@ Builds: build: - export PUB_CACHE=$(pwd)/.pub-cache - .flutter/bin/flutter build apk --release --split-per-abi --target-platform="android-arm64" - ndk: 28.2.13676358 + AutoUpdateMode: Version UpdateCheckMode: Tags +VercodeOperation: + - '%c * 10 + 1' UpdateCheckData: pubspec.yaml|version:\s.+\+(\d+)|.|version:\s(.+)\+ CurrentVersion: 1.0.0 CurrentVersionCode: 3