GithubHelp home page GithubHelp logo

electron-installer-squirrel-mac-cdn's Introduction

electron-installer-squirrel-mac-cdn

Create releases.json files for your Squirrel.Mac electron apps

Installation

# For use in npm scripts
npm i electron-installer-squirrel-mac-cdn --save-dev

# For use from cli
npm i electron-installer-squirrel-mac-cdn -g

Usage

Usage: electron-installer-squirrel-mac-cdn --json-file RELEASES.json --app-zip MyApp.zip --version 0.1.4 --remote-path https://localhost/

Create and update the RELEASES.json file for your Squirrel.Mac Electron app

Options:
  --json-file=<path>        Path to the JSON file containing your releases information
  --app-zip=<path>          Path to a zip file containing your application
  --version=<maj.min.pat>   The version of your application
  --remote-path=<url>       URL for remote update server, must have a trailing slash
  --update                  Update an existing release instead of making a new one
  --notes="new features"    Notes for release (optional)

API

var createReleases = require('electron-installer-squirrel-mac-cdn')
createReleases(opts)

createReleases(opts)

opts

Required

zipPath - String The .zip file containing your application file

jsonPath - String The path to the JSON file containing your releases information

version - String The semver compatible version string to assign the given zip file

remotePath - String The URL for your update server where these files will be served from, must include a trailing slash

Optional

update - Boolean - Default: false Whether to update an existing release instead of making a new one

notes - String Release notes

License

MIT

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.