1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-27 13:21:30 +00:00

Merge pull request #764 from wweich/STGUIASSETS

Set STGUIASSETS to let user add custom themes without root
This commit is contained in:
Felix Ableitner 2016-10-19 18:03:46 +09:00 committed by GitHub
commit 39e492e171

View file

@ -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)) {