|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
1. [Install flutter](https://flutter.dev)
|
|
|
|
|
1. [Install flutter](https://flutter.dev) and [Rust](https://www.rust-lang.org/tools/install)
|
|
|
|
|
|
|
|
|
|
2. Clone the repo:
|
|
|
|
|
```
|
|
|
|
|
git clone https://github.com/krille-chan/fluffychat.git
|
|
|
|
|
cd fluffychat
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. Choose your target platform below and enable support for it.
|
|
|
|
|
|
|
|
|
|
3.1 If you want, enable Googles Firebase Cloud Messaging:
|
|
|
|
|
|
|
|
|
|
`git apply ./scripts/enable-android-google-services.patch`
|
|
|
|
@ -16,8 +14,6 @@ cd fluffychat
|
|
|
|
|
|
|
|
|
|
### Android
|
|
|
|
|
|
|
|
|
|
* Install CMake from the SDK Manager
|
|
|
|
|
|
|
|
|
|
* Build with: `flutter build apk`
|
|
|
|
|
|
|
|
|
|
### iOS / iPadOS
|
|
|
|
@ -32,11 +28,9 @@ cd fluffychat
|
|
|
|
|
|
|
|
|
|
### Web
|
|
|
|
|
|
|
|
|
|
* Enable web support in Flutter: https://flutter.dev/docs/get-started/web
|
|
|
|
|
|
|
|
|
|
* Build with:
|
|
|
|
|
```bash
|
|
|
|
|
./scripts/prepare-web.sh # To install libolm
|
|
|
|
|
./scripts/prepare-web.sh # To install Vodozemac
|
|
|
|
|
flutter build web --release
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
@ -52,7 +46,7 @@ flutter build web --release
|
|
|
|
|
#### Install custom dependencies (Linux)
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt install libjsoncpp1 libsecret-1-dev libsecret-1-0 librhash0 libwebkit2gtk-4.0-dev libolm3
|
|
|
|
|
sudo apt install libjsoncpp1 libsecret-1-dev libsecret-1-0 librhash0 libwebkit2gtk-4.0-dev
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
* Build with one of these:
|
|
|
|
@ -60,6 +54,4 @@ sudo apt install libjsoncpp1 libsecret-1-dev libsecret-1-0 librhash0 libwebkit2g
|
|
|
|
|
flutter build linux --release
|
|
|
|
|
flutter build windows --release
|
|
|
|
|
flutter build macos --release
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
For encryption support you have to install [libolm](https://gitlab.matrix.org/matrix-org/olm) on your system.
|
|
|
|
|
```
|