Skip to content

Commit

Permalink
build: build for honkers
Browse files Browse the repository at this point in the history
  • Loading branch information
ThunderGemios10 committed Aug 4, 2024
1 parent e2733f9 commit 2abeef1
Show file tree
Hide file tree
Showing 5 changed files with 308 additions and 324 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ permissions:

env:
USER_ID: ${{ vars.GPG_USER_ID }}
LAUNCHER_NAME: 'moe.launcher.an-anime-game-launcher'
LAUNCHER_NAME: 'moe.launcher.honkers-launcher'


jobs:
Expand All @@ -30,10 +30,10 @@ jobs:
with:
path: "REPO"

- name: Checkout AAGL repo
- name: Checkout Honkers repo
uses: actions/checkout@v4
with:
repository: an-anime-team/an-anime-game-launcher
repository: an-anime-team/honkers-launcher
path: "AAT-REPO"

- name: Fetch latest binary
Expand All @@ -42,15 +42,15 @@ jobs:
mkdir -p REPO/usr/bin
mv ${{ env.LAUNCHER_NAME }} REPO/usr/bin
env:
BINARY_URL: https://github.com/an-anime-team/an-anime-game-launcher/releases/latest/download/anime-game-launcher
BINARY_URL: https://github.com/an-anime-team/honkers-launcher/releases/latest/download/honkers-launcher

- name: Fetch metadata
run: |
mkdir -p REPO/usr/share/icons/hicolor/512x512/apps/
mkdir -p REPO/usr/share/pixmaps/
cp AAT-REPO/assets/images/icon.png REPO/usr/share/icons/hicolor/512x512/apps/${{ env.LAUNCHER_NAME }}.png
cp AAT-REPO/assets/images/icon.png REPO/usr/share/pixmaps/${{ env.LAUNCHER_NAME }}.png
desktop-file-install --dir=REPO/usr/share/applications --set-key=Exec --set-value=${{ env.LAUNCHER_NAME }} --set-key=Icon --set-value=${{ env.LAUNCHER_NAME }} AAT-REPO/assets/anime-game-launcher.desktop
desktop-file-install --dir=REPO/usr/share/applications --set-key=Exec --set-value=${{ env.LAUNCHER_NAME }} --set-key=Icon --set-value=${{ env.LAUNCHER_NAME }} AAT-REPO/assets/honkers-launcher.desktop
- name: Build Debian package
run: |
Expand All @@ -63,11 +63,11 @@ jobs:
- name: Deploy to GitHub
uses: softprops/action-gh-release@v1
with:
tag_name: aagl
tag_name: honkers
files: '*.deb'

- name: Deploy to Launchpad
run: |
dput ppa:${{ env.PPA }} *_source.changes
env:
PPA: 'thundergemios10/an-anime-game-launcher'
PPA: 'thundergemios10/honkers-launcher'
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@

# An Anime Game Launcher for Ubuntu
# Honkers Launcher for Ubuntu

## Installation

### Launchpad PPA (Recommended)
To install the launcher via the unofficial PPA, first add the PPA to your system's Software Sources.
```bash
sudo add-apt-repository ppa:thundergemios10/an-anime-game-launcher
sudo add-apt-repository ppa:thundergemios10/honkers-launcher
sudo apt update
```

Then install the launcher with:
```bash
sudo apt install an-anime-game-launcher
sudo apt install honkers-launcher
```

### Manual
To install the launcher via terminal run:
```bash
sudo dpkg -i an-anime-game-launcher_3.11.0_all.deb
sudo dpkg -i honkers-launcher_1.7.1_all.deb
```

## Uninstall

To uninstall the launcher via terminal run:
```
sudo apt remove an-anime-game-launcher
sudo apt remove honkers-launcher
```

If you wish to remove the Launchpad PPA, you can run:
```bash
sudo add-apt-repository --remove ppa:thundergemios10/an-anime-game-launcher
sudo add-apt-repository --remove ppa:thundergemios10/honkers-launcher
sudo apt update
```
Loading

0 comments on commit 2abeef1

Please sign in to comment.