mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 22:31:16 +00:00
Merge pull request #764 from wweich/STGUIASSETS
Set STGUIASSETS to let user add custom themes without root
This commit is contained in:
commit
39e492e171
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.
|
// 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)) {
|
||||||
|
|
Loading…
Reference in a new issue