diff --git a/README.md b/README.md index e0538931..0ac77398 100644 --- a/README.md +++ b/README.md @@ -11,15 +11,19 @@ - Windows: [x64 Setup](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-windows-x64-portable.zip) - Linux: [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-linux-x64.AppImage) - macOS: [Universal (x64, M1, M2)](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-macos-universal.dmg) + ## Build from source +Hiddify Next relies on [core library](https://github.com/hiddify/hiddify-next-core) made with GO. if you're interested in building/contributing to that as well follow instructions there. + ### requirements: - - GO v1.21+ - - Flutter v3.10+ + - Flutter v3.13+ - Make - - GCC - - MinGW-w64 - - Android SDK (with CMake and NDK) + - Android SDK + + + + This project uses [flutter_distributor](https://github.com/leanflutter/flutter_distributor) for packaging. @@ -27,9 +31,12 @@ # fetch dependencies and build generated files $ make get gen + # fetch geo assets + $ make get-geo-assets + for platform in [windows linux macos android]: - # build native library - $ make $platform-libs windows-libs + # fetch native libraries for respective platforms, follow core lib instructions for building + $ make $platform-libs $ make release-$platform # example: @@ -42,3 +49,4 @@ - [Clash](https://github.com/Dreamacro/clash) - [Clash Meta](https://github.com/MetaCubeX/Clash.Meta) - [FClash](https://github.com/Fclash/Fclash) + - [Others](./pubspec.yaml)