Closed eDexiam closed 2 years ago
I forgot to mention this is an issue on the new 1.9.0 version that has just been released a few days ago.
I'll check
Good catch, thanks. Fixed with https://github.com/dscalzi/HeliosLauncher/commit/b0927224885e4307ac787fe779d64d60b0c8bc7c
Hi, after doing some testing and checks I've noticed that the "expiresAt" field in the config does not get populated. The check that verifies if the account is expired always returns false meaning that the launcher will never attempt refreshing any of tokens be it MC or MS.
I've been able to pin point what the issue is in
authmanager.js
, thecalculateExpiryDate
method is async, however it is not awaited anywhere where it is used so the returned data is a promise instead of the expected number value. Simply awaiting the method from what I can tell should resolve the problem.