bdfd5d3443 | ||
---|---|---|
.github | ||
.vscode | ||
android | ||
assets | ||
fastlane | ||
ios | ||
lib | ||
linux | ||
scripts | ||
test | ||
windows | ||
.gitignore | ||
.metadata | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
PRIVACY_POLICY.md | ||
README.md | ||
analysis_options.yaml | ||
l10n.yaml | ||
pubspec.lock | ||
pubspec.yaml |
README.md
Build from source
Prerequisites
- Install flutter: To check if this step was successful run
flutter doctor
(Installing android studio is not required if you setup the android SDK yourself) - Clone this repo:
git clone https://github.com/LemmurOrg/lemmur
- Enter the repo:
cd lemmur
Android
- Build:
flutter build apk --flavor prod --target lib/main_prod.dart --release
The apk will be in build/app/outputs/flutter-apk/app-prod-release.apk
Linux
- Make sure you have the additional linux requirements (verify with
flutter doctor
) - Build:
flutter build linux --target lib/main_prod.dart --release
The executable will be in build/linux/x64/release/bundle/lemmur
(be aware, however, that this executable is not standalone)
Windows
- Make sure you have the additional windows requirements (verify with
flutter doctor
) - Build:
flutter build windows --target lib/main_prod.dart --release
The executable will be in build\windows\runner\Release\lemmur.exe
(be aware, however, that this executable is not standalone)
FAQ
Version x.x.x was released, why is it not yet on F-droid?
We have no control over F-droid's build process. This process is automatic and not always predictable in terms of time it takes. If a new version does not appear in F-droid a week after its release, then feel free to open an issue about it and we will look into it.
"App not installed" - what to do?
When installing the APK directly you might get this message. This happens when you are trying to update lemmur from a different source than where you originally got it from. To fix it simply uninstall the previous version (you will lose all local data) and then install the new one. Always make sure to install lemmur APKs only from verified sources.