Add mod whitelist and new HeliosLauncher support

Implemented a whitelist for mods and added support for the new version of HeliosLauncher. Also corrected a language key for launch information logging.
This commit is contained in:
Sandro642 2024-10-24 16:08:15 +02:00
parent 85cb73363a
commit 7073c2744b

View File

@ -1,21 +1,22 @@
/** /**
* @Name dlAsync Function * @Name dlAsync Function
* @async
* @param {boolean} login
* @returns {Promise<void>} * @returns {Promise<void>}
* *
* @author Sandro642 * @author Sandro642
* @Cheating Athena's Shield * @Cheating Athena's Shield
* @Ajout Liste blanche des mods *
* @Added whitelist for mods
* @Added support for the new HeliosLauncher version
*/ */
/** /**
* @Révision le XX.XX.2024 périme le 01.01.2025 * @Reviewed on XX.XX.2024 expires on 01.01.2025
* @Bug découvert : 0 * @Bugs discovered: 0
* @Athena's Shield * @Athena's Shield
* @Sandro642 * @Sandro642
*/ */
// ▄▄▄ ▄▄▄█████▓ ██░ ██ ▓█████ ███▄ █ ▄▄▄ ██████ ██████ ██░ ██ ██▓▓█████ ██▓ ▓█████▄ // ▄▄▄ ▄▄▄█████▓ ██░ ██ ▓█████ ███▄ █ ▄▄▄ ██████ ██████ ██░ ██ ██▓▓█████ ██▓ ▓█████▄
// ▒████▄ ▓ ██▒ ▓▒▓██░ ██▒▓█ ▀ ██ ▀█ █ ▒████▄ ▒██ ▒ ▒██ ▒ ▓██░ ██▒▓██▒▓█ ▀ ▓██▒ ▒██▀ ██▌ // ▒████▄ ▓ ██▒ ▓▒▓██░ ██▒▓█ ▀ ██ ▀█ █ ▒████▄ ▒██ ▒ ▒██ ▒ ▓██░ ██▒▓██▒▓█ ▀ ▓██▒ ▒██▀ ██▌
// ▒██ ▀█▄ ▒ ▓██░ ▒░▒██▀▀██░▒███ ▓██ ▀█ ██▒▒██ ▀█▄ ░ ▓██▄ ░ ▓██▄ ▒██▀▀██░▒██▒▒███ ▒██░ ░██ █▌ // ▒██ ▀█▄ ▒ ▓██░ ▒░▒██▀▀██░▒███ ▓██ ▀█ ██▒▒██ ▀█▄ ░ ▓██▄ ░ ▓██▄ ▒██▀▀██░▒██▒▒███ ▒██░ ░██ █▌
@ -300,7 +301,7 @@ async function dlAsync(login = true) {
}) })
setTimeout(() => { setTimeout(() => {
loggerLaunchSuite.info(Lang.queryJS('landing.dlAsync.launchingGame')) loggerLaunchSuite.info(Lang.queryJS('landing.dlAsync.waintingLaunchingGame'))
}, MIN_LINGER) }, MIN_LINGER)
} }
} }