Change build setup

This commit is contained in:
problematicconsumer
2023-09-22 14:16:21 +03:30
parent 1f0c06df96
commit 84673ed4b0
5 changed files with 58 additions and 327 deletions

View File

@@ -2,57 +2,59 @@
<p align="center"><img src="assets/images/logo.svg" width="168"/></p>
<p align="center" style="font-size: 20px">Hiddify Multi-platform Proxy Client</p>
<p align="center" style="font-size: 20px">⚠️ Hiddify Next is still in early development phase ⚠️</p>
<p align="center" style="font-size: 16px">Windows, Android, Linux and macOS are supported (PR for iOS welcome)</p>
<p align="center" style="font-size: 16px">Multi-platform, Sing-box (universal proxy toolchain) client</p>
## Download Hiddify Next Pre-Release
- Android: [Universal](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-android-x86_64.apk)
- 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.zip)
- macOS: [Universal (x64, M1, M2)](https://github.com/hiddify/hiddify-next/releases/download/draft/hiddify-macos-universal.dmg)
## Features
- Multi-platform support: Android, Windows, Linux and macOS (PRs for iOS are welcome)
- Easy to use with a simple UI
- Sing-box, Clash, Clash meta, V2ray configs supported
## Support
- V2Ray Subscription link (e.g., vless:// vmess:// ss:// trojan:// tuic://)
- Clash / Clash Meta link
- Singbox Config
## Download
For latest releases (including pre-releases), visit [releases page](https://github.com/hiddify/hiddify-next/releases)
- Android: [Universal](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-android-universal.apk) - [Arm64](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-android-arm64.apk) - [Arm7](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-android-arm7.apk) - [x86_64](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-android-x86_64.apk)
- Windows: [x64 Setup](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-windows-x64-setup.exe) - [x64 Portable](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-windows-x64-portable.zip)
- Linux: [x64 AppImage](https://github.com/hiddify/hiddify-next/releases/latest/download/hiddify-linux-x64.AppImage.zip)
- macOS: [Universal (x64, M series)](https://github.com/hiddify/hiddify-next/releases/latest/download/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:
- Flutter v3.13+
- Make
- Android SDK
<!-- - GO v1.21+ -->
<!-- - GCC -->
<!-- - MinGW-w64 -->
<!-- - Android SDK (with CMake and NDK) -->
This project uses [flutter_distributor](https://github.com/leanflutter/flutter_distributor) for packaging.
- Flutter v3.13+
- Make
- Android SDK
```shell
# fetch dependencies and build generated files
$ make get gen
This project uses [flutter_distributor](https://github.com/leanflutter/flutter_distributor) for packaging.
# fetch geo assets
$ make get-geo-assets
```shell
# fetch dependencies and build generated files
$ make get translate gen
for platform in [windows linux macos android]:
# fetch native libraries for respective platforms, follow core lib instructions for building
$ make $platform-libs
$ make release-$platform
# example:
$ make windows-libs
$ make windows-release
```
# fetch geo assets
$ make get-geo-assets
for platform in [windows linux macos android]:
# fetch native libraries for respective platforms, follow core lib instructions for building
$ make $platform-libs
$ make release-$platform
# example:
$ make windows-libs
$ make windows-release
```
## Acknowledgements
- [Singbox](https://github.com/SagerNet/sing-box)
- [Clash](https://github.com/Dreamacro/clash)
- [Clash Meta](https://github.com/MetaCubeX/Clash.Meta)
- [FClash](https://github.com/Fclash/Fclash)
- [Others](./pubspec.yaml)
- [Singbox](https://github.com/SagerNet/sing-box)
- [Clash](https://github.com/Dreamacro/clash)
- [Clash Meta](https://github.com/MetaCubeX/Clash.Meta)
- [FClash](https://github.com/Fclash/Fclash)
- [Others](./pubspec.yaml)