+ 2

HTML to exe?

Is there a way to make executable files with html (including js with script tag)? Like discord -my default browser is Chrome- when im in discord when i hit CTRL+SHIFT+I i can see the developer tab opening. What is the way to make my html code exe?

2nd Apr 2018, 1:48 PM
NavMen
8 Answers
+ 4
maybe you can use this, https://github.com/jiahaog/nativefier it wraps your web pages with electron
2nd Apr 2018, 2:08 PM
Tio Misbaqul Irawan
Tio Misbaqul Irawan - avatar
+ 2
An exe file is a file that has been compiled, it's not just a matter of renaming a file with the addition of ".exe" at the end of it. Read this thread for some guidelines: https://stackoverflow.com/questions/16584589/converting-html-javascript-to-an-exe
2nd Apr 2018, 2:02 PM
CHMD
CHMD - avatar
+ 2
to pack it into single exe file, you need something like inno setup http://jrsoftware.org/isinfo.php
3rd Apr 2018, 12:43 AM
Tio Misbaqul Irawan
Tio Misbaqul Irawan - avatar
3rd Apr 2018, 1:14 AM
Tio Misbaqul Irawan
Tio Misbaqul Irawan - avatar
+ 1
dvync does it compile a .exe file?
2nd Apr 2018, 4:06 PM
NavMen
0
dvync Okay, thanks
3rd Apr 2018, 5:05 AM
NavMen
0
@dvync pls explain in how to use electron to compile .html to .exe
19th Jan 2021, 4:39 PM
lanitoman md
lanitoman md - avatar
- 1
I think .exe file is a program more than a web. But if you want to. Do like this. 1.) Close the developer tap. 2.) Right click your mouse then click "Save as". 3.) Select your file location. 4.) Select a file type to "all files". 5.) At the back of the file name. Type ".exe" 6.) Click "Save" Now you have created your .exe file!
2nd Apr 2018, 1:53 PM
Warith Vatanaplachaigoon
Warith Vatanaplachaigoon - avatar