Fix AppImage verify step to inspect the PyInstaller binary.

The squashfs wrapper does not contain module path strings reliably.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
Bulk Renamer
2026-07-03 17:23:45 -05:00
co-authored by Cursor
parent 9ba2c68ff9
commit c54ee7876c
2 changed files with 10 additions and 6 deletions
+8 -4
View File
@@ -28,12 +28,16 @@ verify_appimage() {
echo "Missing $APP_IMAGE after build." >&2
exit 1
fi
if ! strings "$APP_IMAGE" | grep -q "engine.tvdb_client"; then
echo "ERROR: $APP_IMAGE is missing TheTVDB modules; refusing to publish." >&2
if [[ ! -f "dist/HSRename/HSRename" ]]; then
echo "Missing dist/HSRename/HSRename after build." >&2
exit 1
fi
if ! strings "$APP_IMAGE" | grep -q "engine.episode_match"; then
echo "ERROR: $APP_IMAGE is missing episode matching; refusing to publish." >&2
if ! strings "dist/HSRename/HSRename" | grep -q "engine.tvdb_client"; then
echo "ERROR: Built executable is missing TheTVDB modules; refusing to publish." >&2
exit 1
fi
if ! strings "dist/HSRename/HSRename" | grep -q "engine.episode_match"; then
echo "ERROR: Built executable is missing episode matching; refusing to publish." >&2
exit 1
fi
}