diff options
author | Vanilla <osu_Vanilla@126.com> | 2022-02-25 11:26:52 +0800 |
---|---|---|
committer | Vanilla <osu_Vanilla@126.com> | 2022-02-25 11:26:52 +0800 |
commit | 86cd00d92def448d10aaade3387de525fdfb7928 (patch) | |
tree | be76788cbc66bdb7d1938db3afd0a9c3dbdb63d3 /pkgs/applications/editors/android-studio | |
parent | b638edd948b1553cae280939464a681ae64421e1 (diff) |
android-studio: Remove version string from desktop and icon file.
Diffstat (limited to 'pkgs/applications/editors/android-studio')
-rw-r--r-- | pkgs/applications/editors/android-studio/common.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix index 540c59586a6ea..5b9087d08cfb7 100644 --- a/pkgs/applications/editors/android-studio/common.nix +++ b/pkgs/applications/editors/android-studio/common.nix @@ -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 '' |