android-studio: Remove version string from desktop and icon file.

This commit is contained in:
Vanilla 2022-02-25 11:26:52 +08:00
parent b638edd948
commit 86cd00d92d
No known key found for this signature in database
GPG key ID: 3750028ED04FA42E

View file

@ -159,9 +159,9 @@ let
};
desktopItem = makeDesktopItem {
name = drvName;
name = pname;
exec = pname;
icon = drvName;
icon = pname;
desktopName = "Android Studio (${channel} channel)";
comment = "The official Android IDE";
categories = "Development;IDE;";
@ -229,6 +229,6 @@ in runCommand
echo -n "$startScript" > $out/bin/${pname}
chmod +x $out/bin/${pname}
ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${drvName}.png
ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${pname}.png
ln -s ${desktopItem}/share/applications $out/share/applications
''