Coder Social home page Coder Social logo

macpack's Introduction

macpack

Build Status Go Report Card Coverage Status

Program to package MacOS apps. Will create a .app.

Install

go get -u github.com/murlokswarm/macpack

Usage

In a directory where the package name is main,

macpack build

macpack will automatically create these directories and files:

  • resources
  • resources/css
  • mac.json

Customize build

Build can be customized by modifying mac.json.

eg:

{
  "name": "Jubiz",
  "id": "maxence.Jubiz",
  "version": "1.0",
  "build-number": 4243,
  "icon": "jubiz.png",
  "dev-region": "en",
  "deployment-target": "10.12",
  "copyright": "Copyright © 2017 maxence. All rights reserved",
  "role": "None",
  "category": "public.app-category.photography",
  "sandbox": true,
  "capabilities": {
    "network": {
      "in": false,
      "out": true
    },
    "hardware": {
      "camera": false,
      "microphone": false,
      "usb": false,
      "printing": false,
      "bluetooth": false
    },
    "app-data": {
      "contacts": false,
      "location": false,
      "calendar": false
    },
    "file-access": {
      "user-selected": "",
      "downloads": "",
      "pictures": "",
      "music": "",
      "movies": ""
    }
  },
  "app-store": false,
  "supported-files": []
}

Sass

Sass can be used with:

macpack sass

This launches sass with watch mode. .scss from resources/scss will be converted to .css in resources/css.

Require sass to be installed:

sudo gem install sass

macpack's People

Contributors

maxence-charriere avatar

Watchers

 avatar  avatar

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.