# Conflicts:
#	electron/coding-runtime/pi/extensions/makelore-runtime.ts
This commit is contained in:
brother7 committed 2026-08-31 15:06:37 +08:00
commit 03a9e866d4
128 files changed
+8282 -3026

No files matched your search

+11
View File
@@ -45,6 +45,17 @@ describe('after-pack package hygiene', () => {
);
});
it('rejects the Makelore project catalog in packaged app output', () => {
const appOutDir = makeTempDir();
const resourcesDir = join(appOutDir, 'resources');
mkdirSync(resourcesDir, { recursive: true });
writeFileSync(join(resourcesDir, 'makelore-projects.json'), JSON.stringify({ projects: {} }));
expect(() => afterPack.assertNoPersistedUserData?.(appOutDir)).toThrow(
/Persisted Makelore user data must not be packaged/,
);
});
it('allows normal package resources without persisted user data files', () => {
const appOutDir = makeTempDir();
const resourcesDir = join(appOutDir, 'resources', 'resources', 'icons');