mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
clash-verge-rev: fix .desktop name to fix service autostart option
This commit is contained in:
parent
042733dfaa
commit
deb960c1a1
1 changed files with 6 additions and 0 deletions
|
@ -93,4 +93,10 @@ rustPlatform.buildRustPackage {
|
|||
openssl
|
||||
webkitgtk_4_1
|
||||
];
|
||||
|
||||
# make sure the .desktop file name does not contain whitespace,
|
||||
# so that the service can register it as an auto-start item
|
||||
postInstall = ''
|
||||
mv $out/share/applications/Clash\ Verge.desktop $out/share/applications/clash-verge.desktop
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue