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

watchdog installation path updates #1787

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Conversation

zackattack01
Copy link
Contributor

we install the watchdog service at runtime by gathering the current executable via os.Executable(). If this occurs from an autoupdated version, it will hold up autoupdate's TidyLibrary functionality later (or break watchdog if watchdog is stopped while tidy runs).

To avoid this we can just install the service with the originally installed launcher.exe path, instead of the currently running autoupdate version. That path is left alone, but the find latest logic should still allow the correct launcher version to run the watchdog code

@zackattack01 zackattack01 marked this pull request as ready for review July 18, 2024 14:53
@zackattack01 zackattack01 added this pull request to the merge queue Jul 18, 2024
Merged via the queue into main with commit 385ac6e Jul 18, 2024
32 checks passed
@zackattack01 zackattack01 deleted the zack/watchdog_path_fix branch July 18, 2024 15:55
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