mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Disable ST upgrade in runnable (fixes #276).
This commit is contained in:
parent
db0da97cc4
commit
bab2243424
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("STTRACE=" + pm.getString("sttrace", "") + " ");
|
||||
dos.writeBytes("STNORESTART=1 ");
|
||||
dos.writeBytes("STNOUPGRADE=1 ");
|
||||
// Call syncthing with -home (as it would otherwise use "~/.config/syncthing/".
|
||||
dos.writeBytes(mCommand + " -home " + mContext.getFilesDir() + "\n");
|
||||
dos.writeBytes("exit\n");
|
||||
|
|
Loading…
Reference in a new issue