Skip to content

Commit

Permalink
Update build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePansmith authored Aug 9, 2024
1 parent 7a26b3b commit f2e0f44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit f2e0f44

Please sign in to comment.