The-Buzzy-Project / Golden-Ticket

Launcher and patcher for Sim Theme Park!
GNU General Public License v2.0
17 stars 3 forks source link

Refactor a lot of the code #12

Closed Slay33D closed 6 years ago

Slay33D commented 6 years ago

I can only apologise for the immense size of this patch - there really is a lot to modify and I had trouble figuring out how to split up the patches. That and I haven't done Git patches before. Any and all future patches will be much, much smaller, promise!

Each patch is represented as an object - it can download and install itself as required Updates are also represented as an object Downloaded files are stored as temporary files in the temp folder Patch window supports installing multiple patches by passing them as a parameter Removed PermissionFix support - tries to run elevated instead Moved many strings to resources to allow for future translation Application is now fully portable - the user selects their Theme Park World folder on first launch ILMerge is used to integrate the JSON reader into the application - no external DLLs required Version number is different - now uses .NET standard four digits (0.3.0.0 vs 0.3.0) Application appearance is more traditional, including properties dialogue box for settings Uses Windows build number to check what OS the user is running High DPI support Uses .NET Framework 4.6 instead of 4.5 - same OS compatibility, slightly better DPI support

Things to note:

The update system does not work on Windows 10 as it fails to launch the installer application - works on Windows 7 The update installer ought to be changed - I suggest a simple application that overwrites the old .exe with the new one

geekywalrus commented 6 years ago

Will you change the base branch from "Master" to "Development" please? If you're unsure how, this should still be accurate although it's from 2016: https://stackoverflow.com/questions/9135913/merge-pull-request-to-a-different-branch-than-default-in-github

Slay33D commented 6 years ago

Done and done.