Skip to content

Commit

Permalink
Update build.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePansmith authored May 28, 2024
1 parent f821653 commit 2caa8f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Juke.setup({ file: import.meta.url }).then((code) => {
const includeList = [
"config",
"defaultconfigs",
"config-overrides",
"kubejs",
"mods"
]
Expand Down Expand Up @@ -65,6 +66,8 @@ 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}/pack-mode-switcher.bat`)
fs.copyFileSync('pack-mode-switcher.sh', `dist/.tmp/${group}/pack-mode-switcher.sh`)

try {
if (process.platform === 'win32') {
Expand Down

0 comments on commit 2caa8f5

Please sign in to comment.