replace launcher name in login.js

This commit is contained in:
DrDeee 2021-02-02 12:41:03 +01:00 committed by GitHub
parent 83ba7e00b1
commit 1035318b42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ ipcRenderer.on('MSALoginWindowReply', (event, ...args) => {
let errorDesc = queryMap.get('error_description')
if(error === 'access_denied'){
error = 'ERRPR'
errorDesc = 'To use the NexusLauncher, you must agree to the required permissions! Otherwise you can\'t use this launcher with Microsoft accounts.<br><br>Despite agreeing to the permissions you don\'t give us the possibility to do anything with your account, because all data will always be sent back to you (the launcher) IMMEDIATELY and WITHOUT WAY.'
errorDesc = 'To use the Helios Launcher, you must agree to the required permissions! Otherwise you can\'t use this launcher with Microsoft accounts.<br><br>Despite agreeing to the permissions you don\'t give us the possibility to do anything with your account, because all data will always be sent back to you (the launcher) IMMEDIATELY and WITHOUT WAY.'
}
setOverlayContent(error, errorDesc, 'OK')
setOverlayHandler(() => {
@ -374,4 +374,4 @@ ipcRenderer.on('MSALoginWindowReply', (event, ...args) => {
loggerLogin.error(error)
})
})
})