MacOS app distribution के लिए CLI tool feat .dmg, .pkg, codesign
(github.com/ironpark)ZAPP
MacOS application distribution को आसान बनाता है।
इसे बनाने की वजह
मेरे मामले में, कभी-कभी Apple Store के बाहर macOS apps को build और distribute करना पड़ता है।
इस दौरान binary dependencies को integrate करना -> app bundle code signing और notarization -> dmg file बनाना -> signing और notarization process से गुजरना होता है।
इसे CI/CD में integrate करने के लिए कई तरह के tools install करने और scripts लिखने पड़ते थे। Distribution process भी लंबा था, और हर नए project में दोहराए जाने वाले setup बहुत झंझट भरे थे, इसलिए मैंने यह tool बनाया। अब यह मेरे निजी minimum baseline से आगे बढ़ चुका है, इसलिए इसे यहाँ साझा कर रहा हूँ :)
क्या अलग है?
- आसान installation: किसी दूसरे binary या runtime dependency के बिना, Homebrew के जरिए single binary के रूप में जल्दी install किया जा सकता है, इसलिए इसे CI process में आसानी से integrate किया जा सकता है।
- बहुउद्देश्यीय integration: DMG file creation, pkg file creation, signing और notarization जैसी distribution के लिए ज़रूरी कई सुविधाएँ एक ही tool में दी गई हैं।
मुख्य फीचर्स
- एक ही command से drag & drop installation style की dmg file बनाना
pkginstaller file बनाना- signing, notarization, staple फीचर
- executable द्वारा उपयोग की जाने वाली shared libraries को खोजकर app bundle के भीतर copy करना और link paths को बदलना, ताकि अलग से library install किए बिना उनका उपयोग किया जा सके — dependency bundling फीचर
विस्तृत जानकारी README में और अधिक विस्तार से है।
अगर आपको लगे कि किसी हिस्से में जानकारी कम है, तो बताइए!
इसके अलावा documentation edits, code refactoring, feature suggestions, bugs आदि सहित विभिन्न contributions का स्वागत है!
अभी कोई टिप्पणी नहीं है.