summaryrefslogtreecommitdiffstats
path: root/static/emscripten
diff options
context:
space:
mode:
Diffstat (limited to 'static/emscripten')
-rw-r--r--static/emscripten/environment.js5
-rw-r--r--static/emscripten/soffice_args.js6
2 files changed, 11 insertions, 0 deletions
diff --git a/static/emscripten/environment.js b/static/emscripten/environment.js
new file mode 100644
index 000000000..bc60fddcb
--- /dev/null
+++ b/static/emscripten/environment.js
@@ -0,0 +1,5 @@
+if (!('preRun' in Module)) Module['preRun'] = [];
+Module.preRun.push(function() {
+ ENV.SAL_LOG = "+WARN"
+ ENV.SAL_VCL_QT5_USE_CAIRO = "1"
+});
diff --git a/static/emscripten/soffice_args.js b/static/emscripten/soffice_args.js
new file mode 100644
index 000000000..7ecf7e898
--- /dev/null
+++ b/static/emscripten/soffice_args.js
@@ -0,0 +1,6 @@
+Module['arguments'] = [
+ '--norestore',
+ '--nologo',
+ '--writer',
+ '/android/default-document/example.odt'
+];