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

Three-card trick for autoupdate on osx #551

Merged
merged 4 commits into from
Apr 14, 2020
Merged

Three-card trick for autoupdate on osx #551

merged 4 commits into from
Apr 14, 2020

Conversation

matteosuppo
Copy link
Contributor

During autoupdate on OSX Catalina the agent refused to restart.

We pinpointed the problem to a likely behaviour on Catalina preventing software from changing itself.

As a workaround now the agent copies itself at launch, and autoupdates the copy instead of itself.

When the copy is launched it copies itself in the main executable and start it.

@matteosuppo matteosuppo requested a review from rsora April 8, 2020 15:11
@matteosuppo
Copy link
Contributor Author

Tomorrow I'll prettify the code, at the moment my eyes are bleeding

@matteosuppo matteosuppo merged commit 6db5ade into devel Apr 14, 2020
@matteosuppo matteosuppo deleted the autoupdate branch April 14, 2020 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants