Reputation: 354
How can I zip/pack a bunch of html, js and css files together so that whenever a person click on that zip file, chrome and local server start on that machine and some particular file will be loaded on the first screen...any ideas
Upvotes: 1
Views: 505
Reputation: 1384
Simple!
You now have a package with everything in it, and since it's got an html file extension, it will launch the browser when you double-click it.
(I recommend you write a script to do this, and share it with all of us.)
Upvotes: 1
Reputation: 13880
You might have to create an auto executing .exe file in the zip file that runs after it's un-zipped.
You'd probably be better off with a "README.TXT" file in there, as the auto .exe is sketchy (and virus like) - it may also be snagged and quarantined by anti-virus
Upvotes: 0