mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 08:14:48 +00:00
fix
This commit is contained in:
parent
af3ff62a94
commit
2de4c2886a
3
build.ts
3
build.ts
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user