cargo-nw 0.1.1

Cargo subcommand for building NW application deployment packages (redistributables) for Windows, MacOS and Linux.
<!DOCTYPE html>
<html>
    <head>
        <title>$TITLE</title>
        <style>
            html{
                background-color:#FFF;
                height:100%;
                width:100%;
                margin:0px;
                padding:0px;
            }
            body{
                min-height:100px;
                height:100%;
                background-color:#cbcbcb;
                position: absolute;
                left:0px;
                right:0px;
                top:0px;
                bottom:0px;
                padding:15px;
                margin:0px;
            }
            body>h1{text-align: center;}
        </style>
    </head>
    <body>
        <h1>$TITLE</h1>
        <script>
            (async()=>{
                window.$$SNAKE = await import('/app/wasm/___NAME___.js');
                const wasm = await window.$$SNAKE.default('/app/wasm/___NAME____bg.wasm');
                window.$$SNAKE.create_context_menu();
            })();
        </script>
    </body>
</html>