Skip to content

Generate artwork from MegaProxyIdentity SVGs - #121

Merged
andre487 merged 1 commit into
mainfrom
chore/identity-graphics
Oct 22, 2026
Merged

andre487 merged 1 commit into
mainfrom
chore/identity-graphics

Conversation

@andre487

@andre487 andre487 commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Replace the independently maintained Android artwork with outputs generated from MegaProxyIdentity SVGs. Launcher icons, adaptive layers, notification icons, EN/RU store images and the social preview now share one upstream source. Keep screenshots unchanged and retain the local GitHub badge SVG/notices as explicitly requested.

bundle exec fastlane android update_graphics [ref:FULL_SHA] downloads all SVG inputs at one immutable commit and renders through librsvg using only Python's standard library and gh. The committed manifest records source/output SHA-256 hashes and renderer version. Downloads and rendering finish before existing assets are replaced; ordinary app/F-Droid builds remain offline and consume committed PNG/XML.

The adaptive foreground keeps the complete wordmark within Android's safe circle, while background/rings remain a separate generated layer. Notification artwork comes from SVG/icon-taskbar.svg; store banners and the 1280×640 social preview come from SVG/feature-graphic.svg. The retired raster master and manually maintained notification/color resources are removed. EN/RU command references and graphics documentation describe the recipe and exceptions.

The old social preview is preserved byte-for-byte in MegaProxyIdentity PR #1, together with the old notification vector. The previous launcher master and store banner were already archived there and match the originals. This Android change pins existing canonical SVG commit fc236e43659602c3093726521d7c25bdd3536fe7 and does not require merging the archive PR to build or regenerate.

Validation:

  • 78 Python tests/style checks passed, including source pinning, layer extraction, render-failure preservation, complete image inventory and generated-file hashes/dimensions.
  • Regeneration reproduced all 34 generated outputs byte-for-byte.
  • 352 Android JVM tests, lint and debug APK build passed offline with the existing JNI AAR.
  • Visually inspected the new icon, adaptive foreground, feature graphic and social preview.
  • Screenshots and all GitHub badge files remain byte-for-byte unchanged.

Generated social preview

APK artifacts

Built from commit 1fffb18e by CI run #415.
Artifacts expire after 14 days. Neither APK uses the MegaProxy release key.

@andre487
andre487 merged commit ad0f09b into main Oct 22, 2026
16 checks passed
@andre487
andre487 deleted the chore/identity-graphics branch October 22, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant