Skip to content

Commit

Permalink
debパッケージビルドの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Nov 19, 2024
1 parent b01c83c commit 62d2514
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/linux_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,13 @@ jobs:
- name: Prepare to build DEB
run: |
echo "DESC=$(awk -F '=' '/^Comment=/{print $2}' ./snap/gui/miria.desktop)" >> $GITHUB_ENV
sed -i -E 's|^Version=.*|Version=${{ env.VERSION }}|g' ./snap/gui/miria.desktop
sed -i -E 's|^Icon=.*|Icon=/usr/share/pixmaps/miria.png|g' ./snap/gui/miria.desktop
sed -i -E 's|^Exec=.*|Exec=/opt/miria/miria|g' ./snap/gui/miria.desktop
mkdir -p .debpkg/opt/miria .debpkg/usr/share/applications .debpkg/usr/share/pixmaps
mkdir -p .debpkg/opt/miria .debpkg/usr/share/applications .debpkg/usr/share/pixmaps .debpkg/usr/bin
cp -rp ./build/linux/x64/release/bundle/* .debpkg/opt/miria/
cp ./snap/gui/miria.desktop .debpkg/usr/share/applications/
cp ./assets/images/icon.png .debpkg/usr/share/pixmaps/miria.png
ln -s /opt/miria/miria .debpkg/usr/bin/miria
sed -i -E 's|^Icon=.*|Icon=miria|g' .debpkg/usr/share/applications/miria.desktop
echo "DESC=$(awk -F '=' '/^Comment=/{print $2}' .debpkg/usr/share/applications/miria.desktop)" >> $GITHUB_ENV
- name: Build DEB
uses: jiro4989/build-deb-action@v3
Expand Down
2 changes: 1 addition & 1 deletion snap/gui/miria.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.0
Version=1.1
Name=Miria
GenericName=Misskey Client App
GenericName[ja]=Misskeyクライアントアプリ
Expand Down

0 comments on commit 62d2514

Please sign in to comment.