Warp-net/warpnet

Create macOS DMG Installer

已关闭

#19 创建于 2025年5月20日

 (2 条评论) (0 个反应) (0 位负责人)Go (12 个派生)auto 404
enhancementhelp wantedmacos

仓库指标

星标
 (137 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

To support macOS users and provide a native installation experience, we need to build a .dmg installer for the WarpNet node. This will allow users to install and launch the application using standard macOS conventions, without requiring Homebrew, manual builds, or terminal usage.

Tasks:

  1. Build macOS binary:

    • Cross-compile or build natively for darwin/amd64 and darwin/arm64 (Apple Silicon).
    • Optionally sign the binary with a developer certificate (for Gatekeeper support).
    • Optional: notarize the binary for distribution outside the App Store.
  2. Create .app bundle:

    • Wrap the binary in a standard macOS .app structure (e.g. WarpNet.app),
    • Include Info.plist, icon, and any assets (e.g. logo, config templates),
    • Use tools like create-dmg or dmgbuild to generate the final image.
  3. Generate .dmg image:

    • Create a user-friendly drag-and-drop interface (WarpNet.app/Applications),
    • Optionally include a README or setup instructions inside the DMG.
  4. Test and validate:

    • Ensure the app runs on both Intel and Apple Silicon Macs,
    • Ensure permissions (network access, file access) are correctly set,
    • Check for quarantine flags and Gatekeeper compatibility.

Example tools:

Looking for contributors with experience in macOS packaging or notarization workflows.

贡献者指南