syncthing-macos icon indicating copy to clipboard operation
syncthing-macos copied to clipboard

Auto-update can not be disabled

Open xor-gate opened this issue 1 year ago • 4 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

xor-gate avatar Aug 05 '22 11:08 xor-gate

Looking forward to this feature! I update Syncthing using homebrew and would like to avoid the occasional nag message.

jarrettgilliam avatar Jan 23 '23 14:01 jarrettgilliam

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.

xor-gate avatar Jan 29 '23 15:01 xor-gate

I'll give that a shot. Thanks!

jarrettgilliam avatar Jan 29 '23 16:01 jarrettgilliam

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.

garrett-bane-by avatar Feb 22 '23 14:02 garrett-bane-by