This repository contains all launcher source code to launch into Project Altis
- When compiling for production, ALWAYS make a release build NEVER make a debug build
- To build, open the solution file with Visual Studio and click Start. The packages and dependencies will be restored and you will be able to edit the code.
- Never force a git push, and always double check with other developers before a merge.
- Create a temporary branch if you are uncertain your changes will have a negative effect to the repository.
Squirrel is a lightning fast installer and update manager framework. It is a c++ bootstraper application and installs within seconds on first run.
Advantages:
- no UAC prompts
- click exe -> silently installs within 5 seconds -> opens launcher
- launcher will not require administrator privileges.
- Nuget Package Explorer
- can build RELEASE config in visual studio
- Set the launcher version in properties/AssemblyInfo.cs to the next version
- In visual studio build release
- Open NuGet Package Exporer
- File -> open -> ProjectAltis.x.x.x.nuspec (latest nuspec)
- Change version to the version you want to release
- file -> save metadata as -> save the default name
- file -> save -> save the default name
- in visual studio, click toolbar -> VIEW -> other windows -> package manager console
- in the console, type
Squirrel --releasify
(TAB COMPLETE the nupkg you just made) - upload the entire releases folder to web server (specifically to the folder link at Program.cs:MainAsync())
- commit your changes, including the releases folder. If someone leaves the team, the Releases folder's contents will still be needed to provide updates.
Done! Clients will start updating to that and since Setup.exe has been renamed new people will download latest release.