From 8d2d16e4e389347402c763801a29a648b8e59127 Mon Sep 17 00:00:00 2001 From: Krille-chan Date: Mon, 9 Jun 2025 12:28:47 +0200 Subject: [PATCH] Update with vodozemac build instructions --- How-To-Build.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/How-To-Build.md b/How-To-Build.md index c5f3be6..0ee805e 100644 --- a/How-To-Build.md +++ b/How-To-Build.md @@ -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. +``` \ No newline at end of file