Remove unused binaries with BuildLinuxAppImage.sh

This saves around 16MB from the AppImage.
This commit is contained in:
GT190 2024-09-07 16:36:01 +02:00 committed by GitHub
parent 60862397e9
commit 887adda8c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ cp -r ./Source/Core/DolphinQt ./AppDir/usr/Source/Core
rm -rf ./AppDir/usr/Source/Core/DolphinQt/CMakeFiles
rm -rf ./AppDir/usr/Source/Core/DolphinQt/dolphin-emu_autogen
rm ./AppDir/usr/Source/Core/DolphinQt/cmake_install.cmake
rm ./AppDir/usr/bin/dolphin-emu-nogui
rm ./AppDir/usr/bin/dolphin-tool
mv ./AppDir/usr/share/dolphin-emu/sys ./AppDir/usr/bin/Sys
rm -rf ./AppDir/usr/share/dolphin-emu
sed -i 's/env QT_QPA_PLATFORM=xcb dolphin-emu/dolphin-emu/g' ./AppDir/usr/share/applications/dolphin-emu.desktop