snowflake-compiler

An HTML5 compiler to compile your HTML5 applications to native platforms

Usage no npm install needed!

<script type="module">
  import snowflakeCompiler from 'https://cdn.skypack.dev/snowflake-compiler';
</script>

README

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