diff options
Diffstat (limited to 'static/emscripten')
-rw-r--r-- | static/emscripten/environment.js | 4 | ||||
-rw-r--r-- | static/emscripten/soffice_args.js | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/static/emscripten/environment.js b/static/emscripten/environment.js new file mode 100644 index 0000000000..7d04fd76b0 --- /dev/null +++ b/static/emscripten/environment.js @@ -0,0 +1,4 @@ +if (!('preRun' in Module)) Module['preRun'] = []; +Module.preRun.push(function() { + ENV.SAL_LOG = "+WARN" +}); diff --git a/static/emscripten/soffice_args.js b/static/emscripten/soffice_args.js new file mode 100644 index 0000000000..7ecf7e8988 --- /dev/null +++ b/static/emscripten/soffice_args.js @@ -0,0 +1,6 @@ +Module['arguments'] = [ + '--norestore', + '--nologo', + '--writer', + '/android/default-document/example.odt' +]; |