Skip to content

Commit

Permalink
Merge pull request #13 from Muska-Ami/dev
Browse files Browse the repository at this point in the history
Add rpm package
  • Loading branch information
Muska-Ami authored Jan 1, 2024
2 parents 0608ed8 + cce5adc commit 6a45801
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:

- name: Install Dependencies
run: |-
sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev locate
sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev locate libfuse2
flutter pub get
dart pub global activate flutter_distributor
Expand Down Expand Up @@ -146,6 +146,34 @@ jobs:
with:
name: Linux Artifact(Dist - DEB)
path: dist
dist-linux-rpm:
needs:
- build-linux
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Install Dependencies
run: |-
flutter pub get
sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev rpm patchelf
dart pub global activate flutter_distributor
- name: Pack RPM Installer
run: |-
flutter_distributor package --platform linux --target rpm
- name: Upload Dist Artifact
uses: actions/upload-artifact@v4
with:
name: Linux Artifact(Dist - RPM)
path: dist

build-macos:
runs-on: macos-latest
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Muska-Ami.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
23 changes: 23 additions & 0 deletions linux/packaging/rpm/make_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
icon: asset/icon/icon.png
summary: Nya LoCyanFrp! 乐青映射启动器
group: Application/Network
vendor: Muska_Ami
packager: Muska_Ami
packagerEmail: [email protected]
license: MIT
url: https://github.com/Muska-Ami/NyaLCF

display_name: Nya LoCyanFrp!

keywords:
- NyaLCF
- Nya LoCyanFrp!
- nyanana
- LoCyanFrp

generic_name: NyaLCF

categories:
- Network

startup_notify: true

0 comments on commit 6a45801

Please sign in to comment.