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
|
targets: exe
|
||||||
filename: hiddify-windows-x64
|
filename: hiddify-windows-x64
|
||||||
|
|
||||||
- platform: linux
|
- platform: linux-appimage
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
aarch: amd64
|
aarch: amd64
|
||||||
targets: AppImage
|
targets: AppImage
|
||||||
filename: hiddify-linux-x64
|
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
|
- platform: macos
|
||||||
os: macos-13
|
os: macos-13
|
||||||
aarch: universal
|
aarch: universal
|
||||||
@@ -97,7 +109,7 @@ jobs:
|
|||||||
- name: Setup Linux dependencies
|
- name: Setup Linux dependencies
|
||||||
if: matrix.platform == 'linux'
|
if: matrix.platform == 'linux'
|
||||||
run: |
|
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
|
sudo modprobe fuse
|
||||||
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
|
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
|
||||||
chmod +x appimagetool
|
chmod +x appimagetool
|
||||||
|
|||||||
9
Makefile
9
Makefile
@@ -63,8 +63,15 @@ android-aab-release:
|
|||||||
windows-release:
|
windows-release:
|
||||||
flutter_distributor package --platform windows --targets exe $(DISTRIBUTOR_ARGS)
|
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)
|
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:
|
macos-release:
|
||||||
flutter_distributor package --platform macos --targets dmg $(DISTRIBUTOR_ARGS)
|
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