clash-verge-rev: fix .desktop name to fix service autostart option (#409096)

This commit is contained in:
Toma
2025-05-21 00:14:54 +02:00
committed by GitHub
@@ -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
'';
}