0.2.1 • Published 5 years ago

snowflake-compiler v0.2.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

snowflake-compiler

An HTML5 compiler to compile your HTML5 applications to native platforms

Installation

# for use in npm scripts
npm install --save-dev snowflake-compiler

# for use from cli
npm install -g snowflake-compiler

Usage

To handle the most common Squirrel.Windows events add the following to the top of your projects main.js.

const {app} = require("electron");

if(require("snowflake-compiler")){
	app.quit();
}

Compiling for Windows

snowflake compile --platform windows

Compiling for MacOS

snowflake compile --platform macos

Compiling for Linux

snowflake compile --platform linux

Having Trouble With Our Compiler?

Contact us on our discord server or create a new issue