I skimmed and didn't see that but the "apkdiff" script extracting the apk because "diff doesn't work well on zips" made my gut twitch.
Why can't I sha256sum the two apk?
Why can't I sha256sum the two apk?
i should have done that.
Now that I asked ChatGPT, it didn't include this reason - perhaps it's too obvious and no-one has written it down before.