Move public assets to stable paths
This commit is contained in:
@@ -5,7 +5,8 @@ import { prepareAssets } from "./assets.mjs";
|
||||
if (!existsSync(".env.local")) await copyFile(".env.example", ".env.local");
|
||||
await mkdir(".data", { recursive: true });
|
||||
await mkdir("public/generated", { recursive: true });
|
||||
await mkdir("public/downloads", { recursive: true });
|
||||
await mkdir("public/tools/mod", { recursive: true });
|
||||
await mkdir("public/tools/plugin", { recursive: true });
|
||||
await new Promise((resolve, reject) => {
|
||||
const p = spawn(
|
||||
process.execPath,
|
||||
|
||||
Reference in New Issue
Block a user