mirror of
https://github.com/RustyRaptor/AppImages.git
synced 2026-12-03 23:45:25 -07:00
Use StartupWMClass and remove duplicated cores in menu
Closes #260, #221
This commit is contained in:
1 parent
02fca135db
commit
cd6c88fe83
1 file changed
+11
@@ -93,6 +93,17 @@ mv etc e
|
||||
sed -i -e 's|/etc|../e|g' ./usr/bin/retroarch
|
||||
sed -i -e 's|/usr|././|g' e/retroarch.cfg
|
||||
|
||||
# Workaround for:
|
||||
# Two icons in dock
|
||||
# https://github.com/probonopd/AppImageKit/issues/260
|
||||
echo "StartupWMClass=retroarch" >> retroarch.desktop
|
||||
|
||||
# Workaround for:
|
||||
# Duplicated cores in menu
|
||||
# https://github.com/probonopd/AppImages/issues/221
|
||||
find . -name mame_stable_libretro.so -type l -exec rm {} \;
|
||||
find . -name mess_stable_libretro.so -type l -exec rm {} \;
|
||||
|
||||
VER1=$(find ../*.deb -name $LOWERAPP"_*" | head -n 1 | cut -d "~" -f 1 | cut -d "_" -f 2 | cut -d "-" -f 1 | sed -e 's|1%3a||g' )
|
||||
GLIBC_NEEDED=$(glibc_needed)
|
||||
VERSION=$VER1.glibc$GLIBC_NEEDED
|
||||
|
||||
Reference in new issue
Block a user