Update with vodozemac build instructions

master
Krille-chan 2 months ago
parent df1bab76cd
commit 8d2d16e4e3

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

Loading…
Cancel
Save