Coder Social home page Coder Social logo

appmaker's Introduction

AppMaker logo

stable branch latest release donate link

AppMaker

This script is used to generate a new MacOS app which encapsulates either an executable file or a URL. If the app is generated around an executable, then the encapsulated file is run as soon as the app is opened. If a URL is given, then it is opened in a customised stand-alone Google Chrome window.

Requirements

Synopsis

appmaker [options] <url-or-file> <path-to-app>

Create a MacOS app by encapsulating a given executable or URL into an app.
The file will be copied inside the new app, and executed on app start.

    Options                 All options are optional and
    -------                 can be supplied in any order.

    -c --copyright=<str>    Copyright for the new application
    -f --force              Overwrite existing app (use with care)
    -i --icon=<path>        A path to the app icon (must be a square)
                            Supported formats: ICNS, PNG, GIF, JPG
    -n --appname=<str>      App name, as it appears in the menu
                            Lenght: 16 characters maximum
    -v --appversion=<x.x.x> Application version number

    -l --log=<path>         Redirect all output to a file
    -q --quiet              Suppress output of the script
    -? --help               Display this help message
    --version               Script and BASH version info

    Arguments               All arguments are optional and
    ---------               can be supplied in any order.

    <url-or-file>           Path to the executable or the URL
                            to be encapsulated into the new app
    <path-to-app>           Path to the application

<> - required parameters    [] - optional parameters
Use 'less ./appmaker' to view further documentation.

Changelog

  • 1.0.2

    • Bumped version number to get releases working on GitHub.
    • Updated documentation.
  • 1.0.1

    • Added default values to the output of --help.
    • Updated documentation
  • 1.0.0

    • Initial release of the code.

appmaker's People

Stargazers

 avatar  avatar  avatar  avatar

appmaker's Issues

Re-openning app window does not restore the app

It appears that once an app is generated, it can be executed and it runs without any issues.

However, after the initial window is closed (eg: with Cmd-W), clicking on the app icon does not restore the app window. Instead, we get a standard Google Chrome browser window.

To reinitialise the app, we need to quit it completely (eg: with Cmd-Q), then re-open it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.