clash-verge-rev: fix .desktop name to fix service autostart option

This commit is contained in:
TomaSajt 2025-05-20 17:09:23 +02:00
parent 042733dfaa
commit deb960c1a1
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -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
'';
}