1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00

. literally

This commit is contained in:
zumbiepig 2024-09-06 21:00:00 -07:00
parent 30484e32c2
commit 635973dde2
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -91,7 +91,7 @@ if (!isDev) {
console.log(chalk.cyan('Copying other files...\n')); console.log(chalk.cyan('Copying other files...\n'));
copyFiles.forEach((file) => { copyFiles.forEach((file) => {
const outputPath = file.replace(new RegExp(`^${srcDir}`), publicDir); const outputPath = file.replace(new RegExp(`^${srcDir}`), publicDir).replace(/\.js$/, '.js');
mkdirSync(dirname(outputPath), { recursive: true }); mkdirSync(dirname(outputPath), { recursive: true });
writeFileSync(outputPath, readFileSync(file)); writeFileSync(outputPath, readFileSync(file));
}); });