mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
Refactor landing.js: Update modIdentity assignment in dlAsync function
This commit is contained in:
parent
07ed316f9f
commit
7f33a1d2fa
@ -499,7 +499,7 @@ async function dlAsync(login = true) {
|
|||||||
mdls.forEach(mdl => {
|
mdls.forEach(mdl => {
|
||||||
if (mdl.rawModule.name.endsWith('.jar')) {
|
if (mdl.rawModule.name.endsWith('.jar')) {
|
||||||
const modPath = path.join(modsDir, mdl.rawModule.name)
|
const modPath = path.join(modsDir, mdl.rawModule.name)
|
||||||
const modIdentity = mdl.rawModule || mdl.rawModule.artifact.MD5
|
const modIdentity = mdl.rawModule.identity || mdl.rawModule.artifact.MD5
|
||||||
if (extraFileVerif.debug) {
|
if (extraFileVerif.debug) {
|
||||||
loggerLanding.info(Lang.queryJS('landing.dlAsync.extraFileVerif.distributionIdentityError', {
|
loggerLanding.info(Lang.queryJS('landing.dlAsync.extraFileVerif.distributionIdentityError', {
|
||||||
'moduleName': mdl.rawModule.name,
|
'moduleName': mdl.rawModule.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user