From f2e0f44e351f91a6fbc293680a9539b832b70ded Mon Sep 17 00:00:00 2001 From: Pansmith <70342772+ThePansmith@users.noreply.github.com> Date: Fri, 9 Aug 2024 10:04:26 -0500 Subject: [PATCH] Update build.js --- tools/build/build.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/build/build.js b/tools/build/build.js index 5005c2048..3f5a16d60 100755 --- a/tools/build/build.js +++ b/tools/build/build.js @@ -66,8 +66,9 @@ async function packMod(group) { fs.copyFileSync('manifest.json', `dist/.tmp/${group}/manifest.json`) fs.copyFileSync('dist/modlist.html', `dist/.tmp/${group}/modlist.html`) fs.copyFileSync('LICENSE.md', `dist/.tmp/${group}/LICENSE.md`) - fs.copyFileSync('pack-mode-switcher.bat', `dist/.tmp/${group}/overrides/pack-mode-switcher.bat`) - fs.copyFileSync('pack-mode-switcher.sh', `dist/.tmp/${group}/overrides/pack-mode-switcher.sh`) + // Turns out you cant package bat files in CF releases anymore. + // fs.copyFileSync('pack-mode-switcher.bat', `dist/.tmp/${group}/overrides/pack-mode-switcher.bat`) + // fs.copyFileSync('pack-mode-switcher.sh', `dist/.tmp/${group}/overrides/pack-mode-switcher.sh`) try { if (process.platform === 'win32') {