mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
fix: variable references (#227)
* fix: Launcher freeze * Fix syntax. Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com>
This commit is contained in:
parent
e3ee03ef73
commit
9224531b62
@ -391,13 +391,13 @@ ipcRenderer.on(MSFT_OPCODE.REPLY_LOGIN, (_, ...arguments_) => {
|
|||||||
if (Object.prototype.hasOwnProperty.call(queryMap, 'error')) {
|
if (Object.prototype.hasOwnProperty.call(queryMap, 'error')) {
|
||||||
switchView(getCurrentView(), viewOnClose, 500, 500, () => {
|
switchView(getCurrentView(), viewOnClose, 500, 500, () => {
|
||||||
// TODO Dont know what these errors are. Just show them I guess.
|
// TODO Dont know what these errors are. Just show them I guess.
|
||||||
// This is probably if you messed up the app registration with Azure.
|
// This is probably if you messed up the app registration with Azure.
|
||||||
console.log('Error getting authCode, is Azure application registered correctly?')
|
|
||||||
console.log(error)
|
|
||||||
console.log(error_description)
|
|
||||||
console.log('Full query map', queryMap)
|
|
||||||
let error = queryMap.error // Error might be 'access_denied' ?
|
let error = queryMap.error // Error might be 'access_denied' ?
|
||||||
let errorDesc = queryMap.error_description
|
let errorDesc = queryMap.error_description
|
||||||
|
console.log('Error getting authCode, is Azure application registered correctly?')
|
||||||
|
console.log(error)
|
||||||
|
console.log(errorDesc)
|
||||||
|
console.log('Full query map: ', queryMap)
|
||||||
setOverlayContent(
|
setOverlayContent(
|
||||||
error,
|
error,
|
||||||
errorDesc,
|
errorDesc,
|
||||||
@ -1582,4 +1582,4 @@ function prepareSettings(first = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Prepare the settings UI on startup.
|
// Prepare the settings UI on startup.
|
||||||
//prepareSettings(true)
|
//prepareSettings(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user