Skip to content

Simple service: Portable Version Data. - #37

Open
lonegraywolf2000 wants to merge 1 commit into
Brian0255:developfrom
lonegraywolf2000:consistent-version-clean
Open

Simple service: Portable Version Data.#37
lonegraywolf2000 wants to merge 1 commit into
Brian0255:developfrom
lonegraywolf2000:consistent-version-clean

Conversation

@lonegraywolf2000

Copy link
Copy Markdown
Contributor

This allows the version to be set in one place to be reused throughout the code base and AutoUpdateInfo.xml file with no need to worry about manually modifying the version in multiple files. The parameters in the PowerShell/bash script are just defaulted to the current version.

Also, good way to introduce dependency injection & unit tests.

This allows the version to be set in one place to be reused throughout
the code base and `AutoUpdateInfo.xml` file with no need to worry about
manually modifying the version in multiple files. The parameters in the
PowerShell/bash script are just defaulted to the current version.

Also, good way to introduce dependency injection & unit tests.
@Brian0255

Copy link
Copy Markdown
Owner

I am admittedly a little cautious about touching the auto updater code since it is so critical for users, do we have some way to verify this updates properly?

@lonegraywolf2000

Copy link
Copy Markdown
Contributor Author

Full on integration test wise? That, I'm unsure of.

Also...kind of forgot that the NuGet package we're using here only works for Windows. So it would have to be replaced with a new library. The goal was to demonstrate how I would use Dependency Injection...and I guess that was done. I'll see about activating the other PR I had in mind instead.

I'll look into either NetSparkleUpdater or Velopack depending on which one you feel is best.

Your call if we should close this PR.

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