feat(plugins): move game resources behind marketplace

This commit is contained in:
2026-08-31 10:45:20 +08:00
parent 62304dc85b
commit fe656dd865
33 changed files with 1413 additions and 1018 deletions

View File

@@ -70,7 +70,6 @@ import {
import { shouldUseSecureWorksSquareSessionPersistence } from '../services/works-square-session-persistence-policy';
import { initializeRememberedPassword } from '../services/remembered-password';
import { clearManagedWorksSquareRuntimeBestEffort } from '../services/works-square-runtime';
import { initializeMeowaGameAssetsCredential } from '../api/routes/meowa-game-assets';
import { WorksSquareDesignWorkspace } from '../image-workspace/works-square-workspace';
import type { DesignWorkspaceModule } from '../image-workspace/module';
import {
@@ -603,12 +602,6 @@ async function initialize(): Promise<void> {
// services, but never before the first local paint.
await runDeferred('proxy', applyProxySettings);
await runDeferred('telemetry', initTelemetry);
await runDeferred('game-assets credential', async () => {
const meowaCredential = await initializeMeowaGameAssetsCredential();
if (meowaCredential.source !== 'none') {
logger.info(`Meowa game-assets credential initialized via ${meowaCredential.source}`);
}
});
await runDeferred('launch-at-startup setting', syncLaunchAtStartupSettingFromStore);
}