Skip to content

Instantly share code, notes, and snippets.

@m1guelpf
Created January 5, 2026 01:40
Show Gist options
  • Select an option

  • Save m1guelpf/effdf96bf0a87488ab3271f49aa4b849 to your computer and use it in GitHub Desktop.

Select an option

Save m1guelpf/effdf96bf0a87488ab3271f49aa4b849 to your computer and use it in GitHub Desktop.
Makes Rewind.app keep working after 19 December 2025
#!/bin/bash
set -e
BINARY_LOCATION="/Applications/Rewind.app/Contents/MacOS/Rewind"
# Verify binary matches expected version
expected_md5="47696bce0b31d3b4ecfca557d83fa5aa"
actual_md5=$(md5 -q "$BINARY_LOCATION")
if [ "$actual_md5" != "$expected_md5" ]; then
echo -e "Error: MD5 mismatch.\nMake sure you're patching v15607.1\n\nExpected: $expected_md5\nFound: $actual_md5" >&2
exit 1
fi
# Extract thin arm64 binary from fat/universal binary
lipo -thin arm64 "$BINARY_LOCATION" -output "$BINARY_LOCATION"
# # Patch year check: changes 2025 -> 2099 at offset 0x9bc50
printf '\x64\x06\x81\x52' | dd of="$BINARY_LOCATION" bs=1 seek=638032 conv=notrunc 2>/dev/null
echo -e "Patch applied successfully!\nYou might have to re-sign the app before it successfully runs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment