Skip to content

Build native macOS .pkg installer for non-Homebrew users 馃摝#4

Description

@HelloPrincePal

Context 馃

Once we delete our .sh script, users who do not have Homebrew installed will need a secure way to install DroidTether natively. The standard macOS approach is a .pkg installer that securely handles moving binaries to /usr/local/bin and loading the launchd background services without throwing security flags.

Requirements / Acceptance Criteria 馃幆

  • Create a pkgbuild script to meticulously wrap the compiled Go binary into a .pkg.
  • The .pkg must automatically move the launchdaemon plist to the proper /Library/LaunchDaemons/ folder during installation.
  • Automate this .pkg generation in the GitHub Actions Release pipeline so every release drops a .pkg file alongside the standard .tar.gz files.

Resources 馃摎

  • Apple pkgbuild documentation.
  • GoReleaser (has excellent native macOS .pkg support built-in!)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmacosmacOS specific packaging or system integrations

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions