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:
parent
931183ffba
commit
6826bd9fe9
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue