clash-verge-rev: fix .desktop name to fix service autostart option
This commit is contained in:
parent
042733dfaa
commit
deb960c1a1
@ -93,4 +93,10 @@ rustPlatform.buildRustPackage {
|
|||||||
openssl
|
openssl
|
||||||
webkitgtk_4_1
|
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…
x
Reference in New Issue
Block a user