From 6826bd9fe9bb2d5bfde781928e93452b15de6366 Mon Sep 17 00:00:00 2001 From: Wulf Weich Date: Wed, 19 Oct 2016 09:57:34 +0200 Subject: [PATCH] Set STGUIASSETS to let user add custom themes without root --- .../nutomic/syncthingandroid/syncthing/SyncthingRunnable.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java index 9fe8c59d..4ab5c33f 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingRunnable.java @@ -118,6 +118,7 @@ public class SyncthingRunnable implements Runnable { // Set home directory to data folder for web GUI folder picker. env.put("HOME", Environment.getExternalStorageDirectory().getAbsolutePath()); env.put("STTRACE", sp.getString("sttrace", "")); + env.put("STGUIASSETS", getExternalFilesDir(null).getAbsolutePath() + "/gui"); env.put("STNORESTART", "1"); env.put("STNOUPGRADE", "1"); if (sp.getBoolean("use_tor", false)) {