Skip to content

Don't do self auto-update, just check for the available updated version #9

Merged
AenBleidd merged 4 commits into
masterfrom
vko_bugfix
Sep 13, 2025
Merged

Don't do self auto-update, just check for the available updated version #9
AenBleidd merged 4 commits into
masterfrom
vko_bugfix

Conversation

@AenBleidd

Copy link
Copy Markdown
Member

Ignore vim swp files, remove accidentally added swp file.
Add new 'Open log' button.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
Copilot AI review requested due to automatic review settings September 13, 2025 23:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes self-update functionality from the BOINC BUDA Runner WSL Installer, changing it to only check for and notify about available updates. It also adds a new "Open Log" button for easier access to log files.

  • Disabled automatic self-update; installer now only checks for and notifies about available updates
  • Added new "Open Log" button to provide users access to debug logs
  • Removed auto-update infrastructure including download and batch file execution logic

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
MainWindow.xaml.cs Modified update check logic to inform rather than perform updates, added log file opening functionality
MainWindow.xaml Added "Open Log" button to the UI layout
Comments suppressed due to low confidence (2)

MainWindow.xaml.cs:1

  • The System.IO import is removed but line 817 uses System.IO.File.Exists(). This will cause a compilation error. Either restore the using statement or use the fully qualified name System.IO.File.Exists().
// This file is part of BOINC.

MainWindow.xaml.cs:480

  • The CheckApplicationUpdateAsync method now always returns false, making this conditional check and early return unreachable. Consider removing this logic since self-update is disabled.
                var updateTriggered = await CheckApplicationUpdateAsync();
                if (updateTriggered)
                {
                    DebugLogger.LogInfo("Update triggered, stopping further processing", "MainWindow");
                    return; // The app will close; updater will restart the new version
                }

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread MainWindow.xaml.cs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@AenBleidd AenBleidd merged commit 8669be6 into master Sep 13, 2025
1 check passed
@AenBleidd AenBleidd deleted the vko_bugfix branch September 13, 2025 23:54
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