How jgc777/html2exe-2.0 works
HTML2EXE 2.0 is a Windows GUI/CLI tool that packages HTML files or folders into standalone executables. Users supply content and optional window settings, then the compiler stages the files and builds an IExpress package containing the WebView app. The packaged app extracts its web files, reads its configuration, and opens local content or a configured URL. The README documents both input modes, customization, and optional runtime/WebView choices; source excerpts show the GUI handoff, packaging, and runtime startup. Some internal compiler steps are unsampled, so those links are documented rather than inferred from module names.
Main entry points: HTML2EXE.cs Executable packaging · WebviewForm.cs WebView window · BrowseDialog.cs File and folder picker · Webview.cs Runtime entry
Components 15
Input and configuration
- CLI entry
HTML2EXE 2.0/HTML2EXE.cs - File and folder picker
HTML2EXE 2.0/BrowseDialog.cs - Build configuration
HTML2EXE 2.0/ConfigDialog.cs - Build progress UI
HTML2EXE 2.0/BuildDialog.cs
Executable compiler
- Content staging
HTML2EXE 2.0/HTML2EXE.cs - Executable packaging
HTML2EXE 2.0/HTML2EXE.cs - Generated EXE
Packaged runtime
- Runtime entry
HTML2EXE_Webview/Webview.cs - Packaged web files
- WebView window
HTML2EXE_Webview/WebviewForm.cs
External integrations
- Microsoft WebView2
- Windows IExpress
- Update service
Other components
- User
- Configured web URL
Connections 19
- User → CLI entry: passes input
README.md - User → File and folder picker: selects content
README.md - File and folder picker → Content staging: copies files
HTML2EXE 2.0/BrowseDialog.cs - File and folder picker → Build configuration: opens options
HTML2EXE 2.0/BrowseDialog.cs - User → Build configuration: sets options
README.md - Build configuration → Build progress UI: opens build
HTML2EXE 2.0/ConfigDialog.cs - Build progress UI → Executable packaging: starts build
HTML2EXE 2.0/BuildDialog.cs - CLI entry → Content staging: stages input
HTML2EXE 2.0/HTML2EXE.cs - CLI entry → Executable packaging: builds output
HTML2EXE 2.0/HTML2EXE.cs - Content staging → Executable packaging: supplies web files
HTML2EXE 2.0/HTML2EXE.cs - Executable packaging → Windows IExpress: invokes compiler
HTML2EXE 2.0/HTML2EXE.cs - Executable packaging → Generated EXE: creates package
HTML2EXE 2.0/HTML2EXE.cs - Generated EXE → Runtime entry: launches app
README.md - Runtime entry → Packaged web files: extracts archive
HTML2EXE_Webview/Webview.cs - Runtime entry → WebView window: opens window
HTML2EXE_Webview/Webview.cs - WebView window → Packaged web files: loads local content
HTML2EXE_Webview/WebviewForm.cs - WebView window → Microsoft WebView2: renders content
README.md - Configured web URL → WebView window: provides URL
HTML2EXE_Webview/WebviewForm.cs - CLI entry → Update service: checks updates
HTML2EXE 2.0/HTML2EXE.cs