From 00ceec5b461a8968bdedcc9e971eb97e26bc173a Mon Sep 17 00:00:00 2001 From: William Oldham Date: Fri, 14 Feb 2025 08:23:58 +0000 Subject: [PATCH] fix: fix update script --- update-rotation.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/update-rotation.mjs b/update-rotation.mjs index 69cb47e..0c28c34 100644 --- a/update-rotation.mjs +++ b/update-rotation.mjs @@ -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');