/Crystal-Launcher

An auto updater and launcher for game clients.

Primary LanguageC#

Crystal-Launcher

An auto updater and launcher for game clients.

Using The Source

Step #1: Navigate here.

Navigate To

Edit this Line to where you hold your UpdateInfo.dat file generated with the Update Maker

Edit

Step #2: Put all files including directories in a folder called Files in the same folder with the update maker, and turn on the update maker

Your structure should look something like this.

Folder Structure

Step #3: Open the Update Maker and it should auto populate with the files in your Files directory like below

Update Maker Generation1

Step #4: Place your current version number of the assembly in the Version field. NOTE: All updates that you publish, you will need to include a new version of the launcher with a version (In the compiled Launcher's Assembly Version) that matches the the version number generated in the UpdateInfo.dat Just make sure your launcher assembly version matches the update. you can do that by opening the Launcher project properties

Update Maker Generation2

Hit generate and you will receive an UpdateInfo.dat file You guessed it. This goes in the same url as the line you edited in step 1

Now just upload all your files without any folders on your server in the same directory as your UpdateInfo.dat

Like this

Online File Structure

Revert the local Launchers Assembly version to a lower version number and compile

Run the launcher from your client directory to update.