1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-27 06:41:15 +00:00

Merge branch 'Zillode-disable-auto-upgrade'

This commit is contained in:
Felix Ableitner 2015-03-22 20:09:00 +01:00
commit 4233a15635

View file

@ -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");