From 7fe23e1435127d3abb3730f5d8ca248f506ac4ac Mon Sep 17 00:00:00 2001 From: Naglis Jonaitis Date: Sat, 15 May 2021 13:30:53 +0300 Subject: Fix "no icon" issue By default, the Thorium icon is put at `/usr/share/icons/hicolor/0x0/apps/thorium.png` in the Linux *.deb, however, application launchers do not pickup the `0x0` icon. See also: https://github.com/edrlab/thorium-reader/issues/1241 --- PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 31e7808..8838524 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -27,4 +27,8 @@ package() { # Install license install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241) + mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024 + install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png" } -- cgit v1.2.3-70-g09d2