phosh-mobile-settings: Drop desktop entry tweaks

The app launcher will appear under Phosh without these changes.
This commit is contained in:
Rodney Lorrimar 2024-02-06 13:08:09 +08:00 committed by tomf
parent 8513f69b24
commit d1238f3546

View File

@ -57,12 +57,6 @@ stdenv.mkDerivation rec {
postInstall = ''
# this is optional, but without it phosh-mobile-settings won't know about lock screen plugins
ln -s '${phosh}/lib/phosh' "$out/lib/phosh"
# .desktop files marked `OnlyShowIn=Phosh;` aren't displayed even in our phosh, so remove that.
# also make the Exec path absolute.
substituteInPlace "$out/share/applications/mobi.phosh.MobileSettings.desktop" \
--replace 'OnlyShowIn=Phosh;' "" \
--replace 'Exec=phosh-mobile-settings' "Exec=$out/bin/phosh-mobile-settings"
'';
passthru.updateScript = directoryListingUpdater { };