mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
fix: add origin property to DownloadResult and update test config
- Updated `src/global/typedefinition.ts` to include optional `origin` property in `DownloadResult` to fix TypeScript compilation error where `remove-complete` payload didn't have it defined. - Added `origin` payload in `electron/main/backend/install-manager.ts`. - Updated `e2e/basic.spec.ts` URL to `/` and expecting title including `星火应用商店` to match E2E setup.
This commit is contained in:
@@ -562,6 +562,7 @@ ipcMain.on("remove-installed", async (_event, payload) => {
|
||||
time: Date.now(),
|
||||
exitCode: code,
|
||||
message: JSON.stringify(messageJSONObj),
|
||||
origin: origin,
|
||||
} satisfies ChannelPayload);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user