Auto-update can not be disabled
xor-gate opened this issue · 5 comments
Currently the auto-update cannot be opt-out and is always enabled. We should be able to disable it with a checkbox in the preferences dialog.
This is a followup of #181
Looking forward to this feature! I update Syncthing using homebrew and would like to avoid the occasional nag message.
As a quick fix you probably can set the SUEnableAutomaticChecks
config variable to 0
from the commandline. And then restart Syncthing (tray icon bundle):
jerry@coconut ~ % defaults write com.github.xor-gate.syncthing-macosx SUEnableAutomaticChecks 0
jerry@coconut ~ % defaults read com.github.xor-gate.syncthing-macosx
{
ApiKey = ~~~;
Arguments = "";
Executable = "/Applications/Syncthing.app/Contents/Resources/syncthing/syncthing";
"NSStatusItem Visible Item-0" = 1;
"NSWindow Frame SUUpdateAlert" = "714 569 620 398 0 0 2048 1127 ";
SUEnableAutomaticChecks = 0;
SUHasLaunchedBefore = 1;
SULastCheckTime = "2023-01-29 07:56:59 +0000";
SUSendProfileInfo = 0;
SUUpdateGroupIdentifier = 4133451710;
SUUpdateRelaunchingMarker = 0;
StartAtLogin = 1;
URI = "http://127.0.0.1:8384";
}
Fixing it from the GUI is not easy. I'm not a GUI guy so please try this out.
I'll give that a shot. Thanks!
I use syncthing on multiple headless Mac Minis including automation that relies on screenshots and looking for images on the screen. When the auto-update prompt comes up. it prevents some of those automated tasks from completing successfully. I will try this fix and report back after the next syncthing update.