mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 12:51:16 +00:00
Merge branch 'Zillode-disable-auto-upgrade'
This commit is contained in:
commit
4233a15635
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ public class SyncthingRunnable implements Runnable {
|
||||||
dos.writeBytes("HOME=" + Environment.getExternalStorageDirectory() + " ");
|
dos.writeBytes("HOME=" + Environment.getExternalStorageDirectory() + " ");
|
||||||
dos.writeBytes("STTRACE=" + pm.getString("sttrace", "") + " ");
|
dos.writeBytes("STTRACE=" + pm.getString("sttrace", "") + " ");
|
||||||
dos.writeBytes("STNORESTART=1 ");
|
dos.writeBytes("STNORESTART=1 ");
|
||||||
|
dos.writeBytes("STNOUPGRADE=1 ");
|
||||||
// Call syncthing with -home (as it would otherwise use "~/.config/syncthing/".
|
// Call syncthing with -home (as it would otherwise use "~/.config/syncthing/".
|
||||||
dos.writeBytes(mCommand + " -home " + mContext.getFilesDir() + "\n");
|
dos.writeBytes(mCommand + " -home " + mContext.getFilesDir() + "\n");
|
||||||
dos.writeBytes("exit\n");
|
dos.writeBytes("exit\n");
|
||||||
|
|
Loading…
Reference in a new issue