A robust, user-friendly, clean and efficient Auto-Updater for any client.
After finishing a stable beta version of the "Auto-Updater" to be used by a specific company, I decided to duplicate the repository and making a few tweaks in the copy to turn it public (and generic) in order for it to be used by anyone. And thus, the first version of the "Generic Auto-Updater" was born! - A robust, user-friendly, clean and efficient Auto-Updater for anyone who wishes to maintain their client's users always updated based on some server directory.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Git;
Visual Studio 2019 (administrator priviledges) with Windows Forms App (.NET Framework);
.NET Framework 4.7.2.
- Clone this repository
git clone https://github.com/igor-ruivo/generic-auto-updater.git
... or fork it / use it as a template.
- Read the documentation!
For instance, keep in mind that the engine is expecting a server metadata file with a specific structure, like so:
http://your-directory-with-files/
filename1
hash1
filename2
hash2
filenameN
hashN
Meaning that the first line should be the actual URL to the server directory containing the files, and for the following lines, every even line number contains a relative path from the URL at line 1 to a file and every odd line number contains the respective file's hash. You can change this implementation adapting it to your own server metadata, or do the opposite.
- Configure the Auto-Updater at your will
Edit any strings, configurations and the icon in ./GenericAutoUpdater/Resources/**/*
Edit the logo-image that is embedded in .GenericAutoUpdater/UI/Screens/PatcherMainWindow.resx
- Build it with Visual Studio
Ctrl+Shift+B
- Run the debugger or execute the executable file
./GenericAutoUpdater/bin/Debug/Generic Auto-Updater.exe
The Auto-Updater will start.
- You can run the tests with Test Explorer.
- Check this tutorial.
- .NET Framework 4.7.2 - The framework used;
- Visual Studio 2019 - IDE;
- Icon;
- Image.
You can contribute by submitting a pull-request.
For the versions available, see the tags on this repository.
- Igor Ruivo - Full stack - Igor Ruivo
See also the list of contributors who participated in this project.