androidStudioPackages.beta: Rename the binary according to the channel

The old name "android-studio-preview" was a bit misleading while
"android-studio-beta" should clearly reflect that this is from the beta
channel. I hope that this does not break any workflows but since
"android-studio-preview" was most likely not called from any scripts the
risk should be low (also: most people probably use the stable version
anyway).
This commit is contained in:
Michael Weiss 2019-01-17 18:41:37 +01:00
parent 2dbaab7afe
commit f7a3a5ad94
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83
2 changed files with 2 additions and 2 deletions

@ -158,9 +158,9 @@ in runCommand
''
mkdir -p $out/{bin,share/pixmaps}
# TODO: Rename preview -> beta (and add -stable suffix?):
echo -n "$startScript" > $out/bin/${pname}
chmod +x $out/bin/${pname}
ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${drvName}.png
ln -s ${desktopItem}/share/applications $out/share/applications
''

@ -35,7 +35,7 @@ in rec {
beta = mkStudio (betaVersion // {
channel = "beta";
pname = "android-studio-preview";
pname = "android-studio-beta";
});
dev = mkStudio (latestVersion // {