Skip to content

Commit

Permalink
fix: 修复在 Linux 上通过 AUR 安装后菜单栏图标不显示的问题 (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
witt-bit authored Nov 6, 2024
1 parent 89435f6 commit fa8a2e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/LINUX_AUR/preview/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ package() {
# desktop
install -Dm644 "${srcdir}/build/usr/share/applications/"*.desktop -t "${pkgdir}/usr/share/applications"

# icon
cd "${srcdir}/build/";
# icon
find "usr/share/icons" -type f -exec install -Dm644 {} "${pkgdir}/{}" \;
# lib
find "usr/lib/${_pkgname}/assets" -type f -exec install -Dm644 {} "${pkgdir}/{}" \;

# license
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
Expand Down
4 changes: 3 additions & 1 deletion .github/LINUX_AUR/release/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ package() {
# desktop
install -Dm644 "${srcdir}/build/usr/share/applications/"*.desktop -t "${pkgdir}/usr/share/applications"

# icon
cd "${srcdir}/build/";
# icon
find "usr/share/icons" -type f -exec install -Dm644 {} "${pkgdir}/{}" \;
# lib
find "usr/lib/${_pkgname}/assets" -type f -exec install -Dm644 {} "${pkgdir}/{}" \;

# license
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
Expand Down

0 comments on commit fa8a2e8

Please sign in to comment.