0.2.1 • Published 5 years ago
snowflake-compiler v0.2.1
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