#identifier

bin+lib packapp

pack a binary to a MacOS .app bundle

14 unstable releases (4 breaking)

0.4.0 Jun 27, 2020
0.3.1 Jun 18, 2020
0.3.0 Oct 1, 2019
0.2.0 Oct 1, 2019
0.0.1 Dec 31, 2018

#86 in macOS and iOS APIs

34 downloads per month
Used in cargo-app

Zlib license

13KB
344 lines

packapp

pack a binary to MacOS .app bundle

usage

USAGE:
    packapp [OPTIONS] <bin>

Options:
    --res             stuff to copy into the "Resources" folder
    --framework       stuff to copy into the "Frameworks" folder
    --icon            icon file
    --ident           app identifier
    --name            app name
    --display-name    app display name
    --version         app version
    --agent           if app is agent (won't show icon in dock)
    --high-res        if app should render in high resolution
    --filetype        file types that can be opened with this bundle
    --out             output path
    --verbose         verbose output
    --help            display usage information

ARGS:
    <bin>

install

use homebrew:

$ brew install slmjkdbtl/formulae/packapp

or use crates.io:

$ cargo install packapp

or clone and build locally:

$ git clone https://github.com/slmjkdbtl/packapp
$ cd packapp
$ cargo install --force --path .

or go to the release tab and download manually

example

to pack a binary with no settings

packapp yo

with settings

packapp --identifier com.company.yo --name yo --display-name YO --icon icon.icns --version "1.0.0" yo

Dependencies

~4.5MB
~83K SLoC