Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update can not be disabled #182

Open
xor-gate opened this issue Aug 5, 2022 · 5 comments
Open

Auto-update can not be disabled #182

xor-gate opened this issue Aug 5, 2022 · 5 comments

Comments

@xor-gate
Copy link
Member

xor-gate commented Aug 5, 2022

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

@jarrettgilliam
Copy link

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

@xor-gate
Copy link
Member Author

xor-gate commented Jan 29, 2023

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.

@jarrettgilliam
Copy link

I'll give that a shot. Thanks!

@garrett-bane-by
Copy link

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.

@metametapod
Copy link

FYI, this can also be applied globally to disable Sparkle system-wide:

defaults write -g SUEnableAutomaticChecks -bool NO

sparkle-project/Sparkle#130 (comment)

@xor-gate xor-gate self-assigned this Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants