* Added html5 dir, has a .bat file that can build the html5 version. I went ahead and added the html5 specific Dink media as well, a bit big for SVN though. It has mp3 versions of all songs, otherwise it's the same as the normal data I think
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1600 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
0974642cfb
commit
35c284b014
824 changed files with 4164 additions and 1121 deletions
22
html5/RunHTTPServerFromThisDir.bat
Normal file
22
html5/RunHTTPServerFromThisDir.bat
Normal file
|
@ -0,0 +1,22 @@
|
|||
echo For security reasons, Chrome won't properly download data from a file// address. By running this python based webserver chrome testing will work. I think it requires Python 3+ to be installed, this might happen automatically when you setup the Emscripten stuff
|
||||
|
||||
set CURPATH=%cd%
|
||||
cd ..
|
||||
call app_info_setup.bat
|
||||
:um, why does the emsdk_env.bat not fully work unless I'm in the emscripten dir? Whatever, we'll move there and then back
|
||||
cd %EMSCRIPTEN_ROOT%
|
||||
call emsdk_env.bat
|
||||
:Move back to original directory
|
||||
cd %CURPATH%
|
||||
|
||||
emrun %APP_NAME%.html
|
||||
pause
|
||||
|
||||
exit
|
||||
|
||||
:Another method that could be used, using a python server
|
||||
start http://localhost:8000/%APP_NAME%.html
|
||||
|
||||
echo Ctrl-Pause to kill the server
|
||||
python -m http.server --bind 127.0.0.1 8000
|
||||
pause
|
Loading…
Add table
Add a link
Reference in a new issue