Repository navigation
DMG installer redesign + light app icon (6.0.0) - #3
Merged
Merged
Conversation
…البناء المحلي - 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits for رفّ 6.0.0's installer and icon, on top of main.
8c6a982— DMG installer redesigntokens.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.src-tauri/dmg/background.html→npm run dmg:background→background.tiff;scripts/dmg-layout.mjsstyles the image betweenhdiutil createandconvertin bothbuild-candidate.mjsandci-fix-release-icon.mjs. Icon Composer patching, updater signing, the archive andlatest.jsonare unchanged.ed07439— Light app icon everywhereicon.json'sdarkentries pin the light colours — removing them makes Icon Composer draw a black plate (checked withictool), so the test now requires them.apply-app-icon.mjsrefreshes macOS's icon cache for the build path after patching, so local builds never show the pre-patch (dark) icon.Checks
npm test280/280 ·cargo test123/123 ·npm run build:frontendpassing.codesign; Applications →/Applications.🤖 Generated with Claude Code