Skip to content

DMG installer redesign + light app icon (6.0.0) - #3

Merged
iSltanX merged 2 commits into
mainfrom
build/dmg-installer-6.0.0
Oct 1, 2026
Merged

iSltanX merged 2 commits into
mainfrom
build/dmg-installer-6.0.0

Conversation

@iSltanX

@iSltanX iSltanX commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Two commits for رفّ 6.0.0's installer and icon, on top of main.

8c6a982 — DMG installer redesign

  • A designed installer window (660×420, Retina): رفّ's identity throughout — colours and fonts from tokens.css, the current app icon and mark — with dashed frames for Raff.app and Applications, a sage arrow, a quiet shelf line, and three RTL steps with English under each.
  • Structure follows the Baddel DMG reference (layout, proportions, step bar); identity is رفّ's own.
  • Part of the release path, not a hand-made image: src-tauri/dmg/background.html → npm run dmg:background → background.tiff; scripts/dmg-layout.mjs styles the image between hdiutil create and convert in both build-candidate.mjs and ci-fix-release-icon.mjs. Icon Composer patching, updater signing, the archive and latest.json are unchanged.

ed07439 — Light app icon everywhere

  • No dark app icon exists. icon.json's dark entries pin the light colours — removing them makes Icon Composer draw a black plate (checked with ictool), so the test now requires them.
  • apply-app-icon.mjs refreshes macOS's icon cache for the build path after patching, so local builds never show the pre-patch (dark) icon.

Checks

  • npm test 280/280 · cargo test 123/123 · npm run build:frontend passing.
  • Visual: the built DMG opened in Finder — background sharp, light Raff icon in its frame, Applications in the other, arrow, steps fully visible, correct Arabic/RTL, رفّ's volume icon. Raff.app 6.0.0 inside passes codesign; Applications → /Applications.

🤖 Generated with Claude Code

iSltanX and others added 2 commits October 1, 2026 22:04
…البناء المحلي

- apply-app-icon.mjs: بعد إعادة التوقيع يُعاد تسجيل التطبيق (touch +
  lsregister -f)، فلا يعرض Finder وDock أيقونة ما قبل الرقعة المخزّنة لمسار
  البناء (كانت تظهر داكنة مع نمط الأيقونات الداكن). والتعليق يوضح أن مدخل
  «dark» في icon.json يثبّت الألوان الفاتحة ولا يمثّل أيقونة داكنة.
- app-icon-authority: الاختبار يشترط وجود تثبيت dark للطبق ولكل طبقة، لأن
  حذفه يجعل Icon Composer يولّد طبقًا أسود (تحقّق بـ ictool). وأزيلت إشارات
  قديمة لأيقونة داكنة لم تعد موجودة.

لا حذف لأصول: لا توجد أيقونة داكنة لرفّ، وicon.json بلا تغيير.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src-tauri/dmg/background.html: تصميم النافذة (660×420) بهوية رفّ — الألوان
  والخطوط من tokens.css، والأيقونة والعلامة الحاليتان، وإطاران متقطعان
  لـRaff.app وApplications، وسهم بلون الـsage، وخط رفّ هادئ، وشريط من ثلاث
  خطوات بالعربية وترجمتها. البنية مستوحاة من نافذة تثبيت بدّل؛ الهوية لرفّ.
- npm run dmg:background (gen-dmg-background.mjs): يرسمه عبر Chrome المثبّت
  بلا اعتمادية npm، بدقتين، ويجمعهما في background.tiff (Retina).
- dmg-layout.mjs: يضبط الصورة القابلة للكتابة قبل ضغطها — الخلفية، ومواضع
  الأيقونتين، ونافذة بلا شريط أدوات أو مسار، وأيقونة المجلد — عبر Finder
  مُشارًا إليه بمسار التركيب. يستدعيه build-candidate.mjs وci-fix-release-icon.mjs
  بين create وconvert، فيبقى ترتيب الرقعة والتوقيع وlatest.json كما هو.
- اختبار dmg-installer: أبعاد الخلفية، وتطابق المواضع مع الإطارات، وأن
  المساران كلاهما يضبطان الصورة بين الإنشاء والضغط.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@iSltanX
iSltanX merged commit 79c053a into main Oct 1, 2026
1 check passed
@iSltanX
iSltanX deleted the build/dmg-installer-6.0.0 branch October 1, 2026 19:45
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