0.2.1 • Published 7 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-compilerUsage
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 windowsCompiling for MacOS
snowflake compile --platform macosCompiling for Linux
snowflake compile --platform linux