1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 09:24:48 +00:00
This commit is contained in:
zumbiepig 2024-09-26 19:04:21 -07:00
parent af3ff62a94
commit 2de4c2886a
No known key found for this signature in database
GPG Key ID: 17C891BE28B953DE

View File

@ -43,7 +43,8 @@ srcFiles.forEach((file) => {
else if (isDev) copyFiles.push(file); else if (isDev) copyFiles.push(file);
else if (/\.(html|css|js|json)$/.test(strippedPath)) { else if (/\.(html|css|js|json)$/.test(strippedPath)) {
if ( if (
strippedPath.startsWith('/game/offline/') || (strippedPath.startsWith('/game/') &&
strippedPath.endsWith('/offline.html')) ||
basename(strippedPath) === 'classes.js' basename(strippedPath) === 'classes.js'
) )
copyFiles.push(file); copyFiles.push(file);