IsWaffle
a6a6160b16
Merge pull request 'I ducked up' (#9) from waffle.lord/SPT-AKI-Installer:master into master
Reviewed-on: CWX/SPT-AKI-Installer#9
SPT-AKI Installer made for EFT.
New implementation of an Installer for SPT-AKI.
Spectre Console for a cleaner look:
- Added "SPT-AKI Installer" as Figlet title,
- progress bars for extracting and copying of files.
Pre install checks:
- Checks if EFT is installed,
- Checks installer is not in OG game directory,
- Checks install folder does not have game files already in it,
- Checks if gameversion matches aki version, if so skip patcher process,
- Checks both zips are there, other than when the above match, patcher isnt checked for
- downloads both Zips from the Repo's if needed
Installer Processes:
- Copies files from registry logged GamePath to new location,
- Extracts, runs and deletes patcher with no user input,
- Extracts Aki,
- Deletes both Patcher and AKI zips at the end.
Plans:
- Locales, Language selection.
Setup:
- Visual Studio > File > Open > Project/Solution
\SPT_AKI Installer.sln
- Visual Studio > Build > Publish Selection > Publish
- Check your folder for the project
\bin\Debug\net6.0\publish\
- In here should be an .Exe and a .pdb
- Only the .exe is needed.
Debug:
- The project has PreProccessor Directives for the location to test installing too,
- If you want to change the location for this under L18 make this the path you desire,
- You have to be in Debug for this to be used.
Run Debug:
- Make sure Visual Studio is in Debug mode.
- Visual Studio > Debug > Start Debugging or the F5 shortcut Key
Dependencies:
- .net 6.0
- SharpCompress
- SpectreConsole
- FubarCoder.RestSharp.Portable.Core
- FubarCoder.RestSharp.Portable.HttpClient
- Gitea.dll (included with repo)
Description
Languages
C#
98.5%
PowerShell
1.5%