Easily convert HTML files to portable webview programs for Windows
A rewrite of HTML2EXE which takes much less size and it’s more customizable.
First of all, download the program from the latest release. Then, drag and drop the HTML file or folder you want to convert to the program. You can also open the program to see the menu or call it from the command line (read more down here).
Just open the program and a GUI will show up with all the options. You can select the HTML file or folder you want to convert (with index.html) or just continue with an empty folder. The program will show a new window with many options and the build button. Press that button and the program will start compiling, and it will show a “Finished Building!” or a “Error” with the compiler log.
HTML2EXE HTML OUTPUT CONFIG
The program will show the log in the terminal.
It’s a JSON file which defines some webview settings. It can be loaded in the CLI and configuration GUI. The configuration GUI creates it for you.
Option | Type | Description |
---|---|---|
maximized |
boolean | If the window should be automatically maximized. |
resizable |
boolean | If the window should be resizable. |
control_box |
boolean | If the window should have a control box (minimize, maximize and close buttons). |
minimizable |
boolean | If the window should be minimizable. |
maximizable |
boolean | If the window should be maximizable. |
fullscreen |
boolean | If the window should be fullscreen by default. |
always_on_top |
boolean | If the window should be always on top. |
zoomcontrol |
boolean | If the zoom control should be enabled. |
show_in_taskbar |
boolean | If the window should be shown in the taskbar. |
width |
integer | The width of the window. |
height |
integer | The height of the window. |
url |
string | The URL to load. |
title |
string | The title of the window and data folder. |
icon |
string | The icon of the window. |
context_menu |
boolean | If the context menu should be enabled. |
dev_tools |
boolean | If developer tools should be enabled. |
block_close |
boolean | If the window should be blocked from closing. |
additional_cmd |
string | Additional command to run in the webfiles folder after starting the window (in a hidden cmd.exe window, to start batch files use call to stay hidden or start to create a window). |
Note that include_runtime
is only used in the config for the HTML2EXE compiler (not in the webview). icon
is a full path only during the compilation.
Use GitHub pull requests, discussions or issues to report problems, suggest features, etc. It will be appreciated.
This project is licensed under the MIT License, see the LICENSE file for details.