diff --git a/Data/logo.svg b/Data/logo.svg new file mode 100644 index 0000000000..75bbfefcd1 --- /dev/null +++ b/Data/logo.svg @@ -0,0 +1,174 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Installer/setup.sh b/Installer/setup.sh index 2fada817ce..8718addda8 100755 --- a/Installer/setup.sh +++ b/Installer/setup.sh @@ -7,7 +7,12 @@ if [ "$(id -u)" -ne 0 ]; then fi copy_sl_config() { - if [ -e "/opt/itgmania/Themes/Simply Love.old/$1" ]; then + if [ -d "/opt/itgmania/Themes/Simply Love.old/$1" ]; then + # Don't overwrite any existing files. + # This lets us retain the updated readmes and other files that come with the new release. + cp -r -n "/opt/itgmania/Themes/Simply Love.old/$1" "/opt/itgmania/Themes/Simply Love/$1" + return + elif [ -f "/opt/itgmania/Themes/Simply Love.old/$1" ]; then cp "/opt/itgmania/Themes/Simply Love.old/$1" "/opt/itgmania/Themes/Simply Love/$1" fi } @@ -26,6 +31,7 @@ ln -sf /opt/itgmania/itgmania.desktop /usr/share/applications if [ -d /opt/itgmania/Themes/Simply\ Love.old ]; then copy_sl_config Other/SongManager\ PreferredCourses.txt copy_sl_config Other/SongManager\ PreferredSongs.txt + copy_sl_config Modules rm -rf /opt/itgmania/Themes/Simply\ Love.old fi diff --git a/itgmania.desktop b/itgmania.desktop index f95669f220..3ae0608d40 100644 --- a/itgmania.desktop +++ b/itgmania.desktop @@ -4,7 +4,7 @@ GenericName=Rhythm and dance game TryExec=/opt/itgmania/itgmania Exec=/opt/itgmania/itgmania Terminal=false -Icon=/opt/itgmania/Data/icon.png +Icon=/opt/itgmania/Data/logo.svg Type=Application Categories=Game;ArcadeGame Comment=A cross-platform rhythm video game.