mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
wechat-uos: Fix icon missing on GNOME
This commit is contained in:
parent
642aca4199
commit
4bdc2a156d
1 changed files with 6 additions and 0 deletions
|
@ -210,6 +210,12 @@ buildFHSEnv {
|
|||
|
||||
substituteInPlace $out/share/applications/com.tencent.wechat.desktop \
|
||||
--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 ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue