Skip to content

Conversation

@paul-fresquet
Copy link
Contributor

@paul-fresquet paul-fresquet commented Jul 11, 2025

Summary

  • allow update search even when app is from Windows Store
  • expose extension IsInstalledFromWindowsStore
  • disable auto-update for Windows Store installations
  • update unit tests accordingly

Testing

  • dotnet test --no-build (fails: command not found)

@paul-fresquet paul-fresquet requested a review from Copilot July 11, 2025 09:01
Copy link
Contributor

Copilot AI left a comment

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 implements updated behavior for Windows Store installations by allowing update search while disabling auto-update functionality. The key changes include exposing a reusable extension method to detect Windows Store installations and updating the corresponding test behavior.

  • Extracts Windows Store detection logic into a reusable extension method
  • Allows update search for Windows Store installations while disabling auto-update
  • Updates tests to verify that Windows Store installations can search for updates

Reviewed Changes

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

File Description
src/ByteSync.Client/Helpers/EnvironmentServiceExtensions.cs New extension method for detecting Windows Store installations
src/ByteSync.Client/Services/Updates/SearchUpdateService.cs Removes early return for Windows Store installations, allowing update search
src/ByteSync.Client/ViewModels/Headers/UpdateDetailsViewModel.cs Disables auto-update capability for Windows Store installations
tests/ByteSync.Client.Tests/Services/Communications/SearchUpdateServiceTests.cs Updates test to verify Windows Store installations can search for updates

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@paul-fresquet paul-fresquet merged commit cd3881c into master Jul 11, 2025
@paul-fresquet paul-fresquet deleted the codex/modifier-le-comportement-de-recherche-de-mise-a-jour branch July 11, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants