fix: fix update script
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled

This commit is contained in:
William Oldham 2025-02-14 08:23:58 +00:00
parent 442a0efdd3
commit 00ceec5b46

View File

@ -64,6 +64,7 @@ for (const title of titles) {
const decryptedFilePath = path.join(decryptedDir, 'VSSetting.byaml');
await backupFile(decryptedFilePath);
await fs.copyFile(sourceFile, decryptedFilePath);
const encryptedContents = BOSS.encryptWiiU(decryptedFilePath, PN_BOSS_CONFIG_BOSS_WIIU_AES_KEY, PN_BOSS_CONFIG_BOSS_WIIU_HMAC_KEY);
const hash = crypto.createHash('md5').update(encryptedContents).digest('hex');