Skip to content

doroved/mac-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac Installer

README RU

Create a one-click installer for your macOS application. Save your users from cognitive load when choosing the right file for their processor type (x86_64 or arm64), ensuring installation simplicity.

Screenshot

Video Demo

https://youtu.be/KyJ4SOSBmaM

Features

  • Support for 2 source options for downloading application files: GitHub Releases and Direct URLs
  • Localization in 14 languages: English, Bulgarian, Chinese (Simplified), French, German, Hindi, Italian, Japanese, Korean, Portuguese, Russian, Spanish, Turkish, Vietnamese
  • The installer skips downloading application files if the app is already installed on the user's device
  • Confirmation prompt when exiting the installer during download or installation

Pre-build Setup

Important

Xcode 26+ is required if you want to use the new *.icon icon type via Icon Composer. Please note that this will increase the installer size from 572 KB to 4.1 MB. By default, the older *.icns icon type is used.

Clone the project repository:

git clone https://github.com/doroved/mac-installer.git
cd mac-installer

Navigate to the project settings (Xcode) and make the following changes:

  1. GeneralDisplay Name — replace AppName with your application name
  2. Signing & CapabilitiesBundle Identifier — replace com.appname.installer with a unique identifier for your installer

In the AppConfig.swift file:

  1. Specify your application name in appName as it appears in /Applications
  2. Choose the application file download method (downloadType):
    • github — for downloading from GitHub Releases
    • direct — for direct download via URL
  3. Specify URLs for latestReleaseURL, arm64URL, x86_64URL depending on the chosen download method

In Assets.xcassets, replace the icon with your application's icon.

Building the Installer

  1. Navigate to ProductArchive to create a project archive
  2. After creating the archive, click the Distribute App button, select Direct Distribution, and click Distribute
  3. Wait for the process to complete and click Export to save the installer as a .app file

Installer examples

Reference

About

Installer for your macOS applications on Apple Silicon and Intel processors.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages