mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
wechat-uos: Fix icon missing on GNOME (#413506)
This commit is contained in:
commit
e8a52d0c59
1 changed files with 6 additions and 0 deletions
|
@ -210,6 +210,12 @@ buildFHSEnv {
|
||||||
|
|
||||||
substituteInPlace $out/share/applications/com.tencent.wechat.desktop \
|
substituteInPlace $out/share/applications/com.tencent.wechat.desktop \
|
||||||
--replace-quiet 'Exec=/usr/bin/wechat' "Exec=$out/bin/wechat-uos --"
|
--replace-quiet 'Exec=/usr/bin/wechat' "Exec=$out/bin/wechat-uos --"
|
||||||
|
|
||||||
|
# See https://github.com/NixOS/nixpkgs/issues/413491
|
||||||
|
sed -i \
|
||||||
|
-e '/\[Desktop Entry\]/a\' \
|
||||||
|
-e 'StartupWMClass=wechat' \
|
||||||
|
$out/share/applications/com.tencent.wechat.desktop
|
||||||
'';
|
'';
|
||||||
targetPkgs = pkgs: [ wechat-uos-env ];
|
targetPkgs = pkgs: [ wechat-uos-env ];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue