new: add deb and rpm build
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -39,12 +39,24 @@ jobs:
|
||||
targets: exe
|
||||
filename: hiddify-windows-x64
|
||||
|
||||
- platform: linux
|
||||
- platform: linux-appimage
|
||||
os: ubuntu-latest
|
||||
aarch: amd64
|
||||
targets: AppImage
|
||||
filename: hiddify-linux-x64
|
||||
|
||||
- platform: linux-deb
|
||||
os: ubuntu-latest
|
||||
aarch: amd64
|
||||
targets: deb
|
||||
filename: hiddify-debian-x64
|
||||
|
||||
- platform: linux-rpm
|
||||
os: ubuntu-latest
|
||||
aarch: amd64
|
||||
targets: rpm
|
||||
filename: hiddify-rpm-x64
|
||||
|
||||
- platform: macos
|
||||
os: macos-13
|
||||
aarch: universal
|
||||
@@ -97,7 +109,7 @@ jobs:
|
||||
- name: Setup Linux dependencies
|
||||
if: matrix.platform == 'linux'
|
||||
run: |
|
||||
sudo apt install -y locate ninja-build pkg-config libgtk-3-dev libglib2.0-dev libgio2.0-cil-dev libayatana-appindicator3-dev fuse
|
||||
sudo apt install -y locate ninja-build pkg-config libgtk-3-dev libglib2.0-dev libgio2.0-cil-dev libayatana-appindicator3-dev fuse rpm patchelf
|
||||
sudo modprobe fuse
|
||||
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||
chmod +x appimagetool
|
||||
|
||||
9
Makefile
9
Makefile
@@ -63,8 +63,15 @@ android-aab-release:
|
||||
windows-release:
|
||||
flutter_distributor package --platform windows --targets exe $(DISTRIBUTOR_ARGS)
|
||||
|
||||
linux-release:
|
||||
linux-release: linux-appimage-release linux-deb-release linux-rpm-release
|
||||
|
||||
linux-appimage-release:
|
||||
flutter_distributor package --platform linux --targets appimage $(DISTRIBUTOR_ARGS)
|
||||
linux-deb-release:
|
||||
flutter_distributor package --platform linux --targets deb $(DISTRIBUTOR_ARGS)
|
||||
linux-rpm-release:
|
||||
flutter_distributor package --platform linux --targets rpm $(DISTRIBUTOR_ARGS)
|
||||
|
||||
|
||||
macos-release:
|
||||
flutter_distributor package --platform macos --targets dmg $(DISTRIBUTOR_ARGS)
|
||||
|
||||
35
linux/packaging/deb/make_config.yaml
Normal file
35
linux/packaging/deb/make_config.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
display_name: HiddifyNext
|
||||
package_name: hiddify-next
|
||||
maintainer:
|
||||
name: hiddify
|
||||
email: linux@hiddify.com
|
||||
|
||||
priority: optional
|
||||
section: x11
|
||||
installed_size: 6604
|
||||
essential: false
|
||||
icon: ./assets/images/source/ic_launcher_border.png
|
||||
|
||||
postinstall_scripts:
|
||||
- echo "Installed Hiddify Next"
|
||||
postuninstall_scripts:
|
||||
- echo "Surprised Why?"
|
||||
|
||||
|
||||
keywords:
|
||||
- Hiddify
|
||||
- Proxy
|
||||
- VPN
|
||||
- V2ray
|
||||
- Nekoray
|
||||
- Xray
|
||||
- Psiphon
|
||||
- OpenVPN
|
||||
|
||||
|
||||
generic_name: Hiddify
|
||||
|
||||
categories:
|
||||
- Network
|
||||
|
||||
startup_notify: true
|
||||
30
linux/packaging/rpm/make_config.yaml
Normal file
30
linux/packaging/rpm/make_config.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
display_name: HiddifyNext
|
||||
url: https://github.com/hiddify/hiddify-next/
|
||||
license: Other
|
||||
|
||||
|
||||
packager: hiddify
|
||||
packagerEmail: linux@hiddify.com
|
||||
|
||||
priority: optional
|
||||
section: x11
|
||||
installed_size: 6604
|
||||
essential: false
|
||||
icon: ./assets/images/source/ic_launcher_border.png
|
||||
|
||||
keywords:
|
||||
- Hiddify
|
||||
- Proxy
|
||||
- VPN
|
||||
- V2ray
|
||||
- Nekoray
|
||||
- Xray
|
||||
- Psiphon
|
||||
- OpenVPN
|
||||
|
||||
|
||||
generic_name: Hiddify
|
||||
|
||||
group: Applications/Internet
|
||||
|
||||
startup_notify: true
|
||||
Reference in New Issue
Block a user