feat: update Makelore modules and conversations
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-07-31 10:08:41 +08:00
parent b8ca3f8eea
commit 80e8386fa6
175 changed files with 8036 additions and 10581 deletions

View File

@@ -134,8 +134,8 @@ export async function handleFileRoutes(
return true;
}
const config = await readProjectConfig(activeProject.path);
if (config.status !== 'valid' || !config.config.initialized || config.config.templateId !== 'game-development') {
sendJson(res, 403, { success: false, error: 'Game asset browsing is unavailable for this project template' });
if (config.status !== 'valid' || !config.config.initialized) {
sendJson(res, 403, { success: false, error: 'Game asset browsing is unavailable for an uninitialized project' });
return true;
}
sendJson(res, 200, { assets: await loadGameAssetCandidates(activeProject.path) });
@@ -153,8 +153,8 @@ export async function handleFileRoutes(
return true;
}
const config = await readProjectConfig(activeProject.path);
if (config.status !== 'valid' || !config.config.initialized || config.config.templateId !== 'game-development') {
sendJson(res, 403, { success: false, error: 'Game asset review is unavailable for this project template' });
if (config.status !== 'valid' || !config.config.initialized) {
sendJson(res, 403, { success: false, error: 'Game asset review is unavailable for an uninitialized project' });
return true;
}