0.3.2
Compile Deno apps for Windows with custom icon and metadata.
Repository
Current version released
9 months ago
Wincompile
Wincompile is a CLI tool to compile Deno apps for Windows with custom icon and metadata.
Examples
wincompile --Icon=abc.ico -- -A --unstable main.ts
wincompile --Icon="C:/Program Files/my program/my icon.ico" --FileDescription="Super App" --FileVersion=1.0.2 --ProductVersion=1.0.2.standard -- --allow-all --unstable main.ts
wincompile -- -A --unstable app.ts
Run wincompile
in the command line to see more usage information.
Windows caches EXEsâ icons, so it may look like the icon wasnât applied. Change the EXE name or move it to another folder to force Windows to reload the icon.
Install
deno run -r --allow-run --allow-env --allow-read https://deno.land/x/wincompile/install.ts
The command above can also be used to update Wincompile.
Uninstall
deno uninstall wincompile
Run remotely
You can also run Wincompile remotely instead of installing it:
deno run -A --import-map=https://deno.land/x/wincompile/import_map.json https://deno.land/x/wincompile/wincompile.ts --Icon=abc.ico -- -A --unstable main.ts
How it works
Wincompile uses Electronâs rcedit to create a patched version of Deno on the fly just to compile your app. After compilation, the patched Deno is deleted.