• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    C#
  • License
    MIT License
  • Created over 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Generic Auto-Updater: a robust, user-friendly, clean and efficient Auto-Updater to maintain any client patched.

Generic Auto-Updater Main Window

Generic Auto-Updater

A robust, user-friendly, clean and efficient Auto-Updater for any client.

The Idea

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Git;
Visual Studio 2019 (administrator priviledges) with Windows Forms App (.NET Framework);
.NET Framework 4.7.2.

Installing

  1. Clone this repository
git clone https://github.com/igor-ruivo/generic-auto-updater.git

... or fork it / use it as a template.

  1. 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.

  1. 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
  1. Build it with Visual Studio
Ctrl+Shift+B
  1. Run the debugger or execute the executable file
./GenericAutoUpdater/bin/Debug/Generic Auto-Updater.exe

The Auto-Updater will start.

Running the tests

Built With

Contributing

You can contribute by submitting a pull-request.

Versioning

For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.