summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-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 000000000000..bc60fddcbbe3
--- /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 000000000000..7ecf7e8988e8
--- /dev/null
+++ b/static/emscripten/soffice_args.js
@@ -0,0 +1,6 @@
+Module['arguments'] = [
+ '--norestore',
+ '--nologo',
+ '--writer',
+ '/android/default-document/example.odt'
+];