1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-11 04:25:53 +00:00

Set STGUIASSETS to let user add custom themes without root

This commit is contained in:
Wulf Weich 2016-10-19 09:57:34 +02:00
parent 931183ffba
commit 6826bd9fe9

View file

@ -118,6 +118,7 @@ public class SyncthingRunnable implements Runnable {
// Set home directory to data folder for web GUI folder picker. // Set home directory to data folder for web GUI folder picker.
env.put("HOME", Environment.getExternalStorageDirectory().getAbsolutePath()); env.put("HOME", Environment.getExternalStorageDirectory().getAbsolutePath());
env.put("STTRACE", sp.getString("sttrace", "")); env.put("STTRACE", sp.getString("sttrace", ""));
env.put("STGUIASSETS", getExternalFilesDir(null).getAbsolutePath() + "/gui");
env.put("STNORESTART", "1"); env.put("STNORESTART", "1");
env.put("STNOUPGRADE", "1"); env.put("STNOUPGRADE", "1");
if (sp.getBoolean("use_tor", false)) { if (sp.getBoolean("use_tor", false)) {