Added defaultCloseOperation of EXIT_ON_CLOSE to the main launcher frame

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Removed beta warning message and removed the url replacing mechanism converting /api/ links to /apiv2/ links, switching back to only /api/

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Set the launcher to remove yogbox and hackslashmine if they are installed

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Fixed login token structure, using validation and correct refreshing.

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Added a try/catch Exception e //Ignore to the migrate command

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
Print the stack trace so I can still debug any migration errors potentially

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>
No longer manually disable hsm & yogbox from code (We already have a way
of doing this!!!)
Remove the disablepacks method entirely (We already have a way of doing
this!!)
Don't attempt to migrate installed packs with no listed directory (they're
only there cos they have to be)
Track launcher runs and installs
Just some logging for failed file creation for install tracking
Show pack icons when technic API is unavailable.
Merge branch 'master' of github.com:TechnicPack/TechnicLauncher
Fixed pack text to display pack name over default logo
Make the loading... labels properly disappear when technic API is
unavailable.
Allow offline packs to be launched without crashing- notify user if installation is
necessary but impossible.
Harden the modpack options cogwheel menu so you can access it on an
offline pack without crashing.
Show "Offline" logo when pack cannot install/update.
Fixed some race condition display issues, especially one that would happen
if the saved "current" pack was the "Add Pack" button when loading with no
internet access.
Threaded the wait until modpacks are getting set up so UI remains smooth.