Skip to content

Refactor AppInfo: remove metadata, add Architecture#131

Merged
Timthreetwelve merged 1 commit into
mainfrom
AppInfo-Cleanup
Jul 17, 2026
Merged

Refactor AppInfo: remove metadata, add Architecture#131
Timthreetwelve merged 1 commit into
mainfrom
AppInfo-Cleanup

Conversation

@Timthreetwelve

Copy link
Copy Markdown
Owner

Simplifies AppInfo by removing unused assembly/process metadata properties and introducing an Architecture property for process architecture.

MainWindowHelpers now logs the app architecture at startup.

Simplifies AppInfo by removing unused assembly/process metadata properties and introducing an Architecture property for process architecture.

MainWindowHelpers now logs the app architecture at startup.
Copilot AI review requested due to automatic review settings July 17, 2026 00:33

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 simplifies the AppInfo helper by removing unused application/assembly/process metadata accessors and adds a new Architecture property exposing the current process architecture. It also extends startup logging to record the architecture at launch, improving diagnostics in logs.

Changes:

  • Removed multiple unused AppInfo metadata properties (assembly version strings, exe/name metadata, process module/start time, etc.).
  • Added AppInfo.Architecture based on RuntimeInformation.ProcessArchitecture.
  • Logged app/process architecture during startup in MainWindowHelpers.LogStartup().

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
TimVer/Helpers/MainWindowHelpers.cs Adds a startup log line for the app/process architecture.
TimVer/Helpers/AppInfo.cs Removes unused metadata properties and introduces Architecture for process architecture reporting.

@Timthreetwelve
Timthreetwelve merged commit 50089d5 into main Jul 17, 2026
3 checks passed
@Timthreetwelve
Timthreetwelve deleted the AppInfo-Cleanup branch July 17, 2026 00:35
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