Skip to content

refactor!: drop clickonce support - #254

Merged
frankea merged 1 commit into
frankea:mainfrom
dappermint:chore/drop-clickonce
Sep 1, 2026
Merged

refactor!: drop clickonce support#254
frankea merged 1 commit into
frankea:mainfrom
dappermint:chore/drop-clickonce

Conversation

@dappermint

Copy link
Copy Markdown
Contributor

closes #215.

games do not arrive as .appref-ms deployments. the end-of-august window passed with nobody speaking up, and the preview fork has been silent on it since 2026.8.12.

what goes

  • ClickOnceManager and its tests
  • the detection pass in the program scan (Bottle+Extensions)
  • the badge and the rescan button in the programs list
  • the copy-url and remove entries in the program context menu
  • the .net auto-recommendation keyed on isClickOnce
  • the com.microsoft.application-reference file type in the run panel
  • the six program.clickonce.* localisation keys

what stays

the clickonce-cache noise filter in the exe scan, as agreed. a prefix can still contain those artifacts whether or not we support launching them.

public api

ClickOnceManager, Program(appRefURL:bottle:displayName:) and Program.isClickOnce were public WhiskyKit API, so this needs the major bump. flagged in the changelog under Removed with the api surface named, and the commit carries a BREAKING CHANGE: footer.

checks

reapplied by hand on upstream/main rather than cherry-picked, since preview has diverged. 249 tests in 35 suites pass, swiftformat lint reports 0/399, swiftlint strict finds 0 violations.

games do not arrive as .appref-ms deployments, and nobody spoke up for it
during the window on frankea#215. the manager, its detection pass in the program
scan, the badge, the context menu, the .net auto-recommendation and the
appref file type in the run panels all go. the clickonce-cache noise
filter in the exe scan stays, a prefix can still contain the artifacts.

ClickOnceManager, the Program(appRefURL:bottle:displayName:) initializer
and isClickOnce were public WhiskyKit API, so the kit needs a major bump.

BREAKING CHANGE: ClickOnceManager, Program(appRefURL:bottle:displayName:)
and Program.isClickOnce are removed from WhiskyKit's public API.

Closes frankea#215
@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
Whisky/Utils/DependencyManager.swift 0.00% 2 Missing ⚠️
Whisky/Views/Programs/ProgramsView.swift 0.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@frankea frankea left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Verified hands-on on top of current main (post #239): clean merge with zero conflicts including the two hot files, all three app schemes build (Whisky, WhiskyCmd, WhiskyThumbnail), and the kit suite passes at 249 tests in 35 suites, which reconciles exactly against main's 267 in 36 (ClickOnceManagerTests held 18 tests in 1 suite). The kept noise-filter test runs and passes, swiftformat reports 0/401 and swiftlint strict is clean tree-wide on the merged result.

Details checked: the xcstrings edit removes exactly the six program.clickonce.* keys with the remaining 884 entries byte-for-byte in their existing order, and no source references any removed key; DependencyManager merges against #239 with only the ClickOnce step gone and the evidence sources renumbered consistently; the changelog entry sits correctly under Unreleased and names the public API removal (ClickOnceManager, the appRefURL initializer, isClickOnce) with the kit major bump called out; the cache noise filter survives exactly as agreed on #215, in the scan and its test.

Thanks for reapplying by hand on upstream/main instead of cherry-picking across the divergence, and for landing this within hours of the green light. Merging.

@frankea
frankea merged commit 92ad24b into frankea:main Sep 1, 2026
10 checks passed
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.

proposal: drop clickonce support

2 participants