Skip to content

Commit

Permalink
Add check for Release channel to desktop entry script
Browse files Browse the repository at this point in the history
  • Loading branch information
DarlCat committed Jun 11, 2024
1 parent a3dc6d1 commit c19e055
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion indra/newview/linux_tools/refresh_desktop_app_entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ else
exit 1
fi

# Check for the Release channel. This channel should not have the channel name in its launcher.
if [ "$channel" = "Alchemy Release" ]; then
launcher_name="Alchemy"
else
launcher_name=$channel
fi

install_desktop_entry()
{
installation_prefix="${1}"
desktop_entries_dir="${2}"

desktop_entry="\
[Desktop Entry]\n\
Name=${channel}\n\
Name=${launcher_name}\n\
Comment=Client for the On-line Virtual World, Second Life\n\
Exec=${installation_prefix}/alchemy\n\
Icon=${installation_prefix}/alchemy_icon.png\n\
Expand Down

0 comments on commit c19e055

Please sign in to comment.