Remove unused logo

This commit is contained in:
the-sane 2024-10-25 14:38:59 -04:00
parent 8deb64916e
commit 1e1793bcac
2 changed files with 1 additions and 8 deletions

View File

@ -154,10 +154,8 @@ shaders_subdirs=(
rsi_icon_name="rsi-launcher.png"
wine_launch_script_name="sc-launch.sh"
lug_logo="info"
# Default to files in the Helper directory for a git download
lug_logo="$helper_dir/lug-logo.png"
rsi_icon="$helper_dir/$rsi_icon_name"
lutris_install_script="$helper_dir/lib/lutris-starcitizen.json"
wine_launch_script="$helper_dir/lib/$wine_launch_script_name"
@ -169,15 +167,10 @@ IFS=':' read -r -a data_dirs_array <<< "$XDG_DATA_DIRS:/usr/share/"
# Locate our files in the search array
for searchdir in "${data_dirs_array[@]}"; do
# Check if we've found all our files and break the loop
if [ -f "$lug_logo" ] && [ -f "$rsi_icon" ] && [ -f "$lutris_install_script" ] && [ -f "$wine_launch_script" ]; then
if [ -f "$rsi_icon" ] && [ -f "$lutris_install_script" ] && [ -f "$wine_launch_script" ]; then
break
fi
# lug-logo.png
if [ ! -f "$lug_logo" ] && [ -f "$searchdir/icons/hicolor/256x256/apps/lug-logo.png" ]; then
lug_logo="$searchdir/icons/hicolor/256x256/apps/lug-logo.png"
fi
# rsi-launcher.png
if [ ! -f "$rsi_icon" ] && [ -f "$searchdir/icons/hicolor/256x256/apps/$rsi_icon_name" ]; then
rsi_icon="$searchdir/icons/hicolor/256x256/apps/$rsi_icon_name"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB