feat: implement store filter based on launch arguments

- Added a new function to determine the store filter based on the `--no-apm` and `--no-spark` launch arguments.
- Integrated IPC to retrieve the store filter in the main process and updated the Vue component to reflect the selected filter.
- Adjusted logic in the app loading functions to conditionally display apps based on the determined filter.
This commit is contained in:
2026-03-15 11:04:22 +08:00
parent 4ecea4a8b8
commit b3ca2973f1
4 changed files with 26 additions and 4 deletions
-1
View File
@@ -12,7 +12,6 @@ interface Window {
ipcRenderer: import("electron").IpcRenderer;
apm_store: {
arch: string;
[k: string]: any;
};
}