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

#16 in macOS APIs

Download history 12/week @ 2020-05-23 24/week @ 2020-05-30 12/week @ 2020-06-06 24/week @ 2020-06-13 3/week @ 2020-06-20 31/week @ 2020-06-27 15/week @ 2020-07-04 28/week @ 2020-07-11 5/week @ 2020-07-18 2/week @ 2020-07-25 30/week @ 2020-08-08 29/week @ 2020-08-15 2/week @ 2020-08-22 14/week @ 2020-08-29 55/week @ 2020-09-05

64 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

~3.5MB
~70K SLoC