mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-06 04:19:39 +00:00
linux/appimage: recursively remove ELF debug symbols
This reduces the AppImage's AppDir from 100,5 MiB to 90,3 MiB.
This commit is contained in:
@@ -30,6 +30,9 @@ script:
|
||||
# Generate byte-code files and package them for a slightly faster app startup.
|
||||
- python3 -m compileall "$TARGET_APPDIR/usr/src/"*.py
|
||||
|
||||
# Recursively remove ELF debug symbols, trimming roughly 10 MB off the AppDir.
|
||||
- find "$TARGET_APPDIR" -type f -print0 | xargs -0 file | grep -F 'not stripped' | cut -f1 -d':' | sort -V | xargs -r strip -s -v
|
||||
|
||||
AppDir:
|
||||
app_info:
|
||||
id: io.github.devilxd.twitchdropsminer
|
||||
|
||||
Reference in New Issue
Block a user