refactor(electron): move electron-api to framework (#8601)

fix AF-1394
This commit is contained in:
pengx17 committed 2024-10-30 09:16:20 +00:00
1 parent 50bae9c3e6
commit a791481ac8
81 files changed
+788 -567

No files matched your search

@@ -56,6 +56,8 @@ export const appInfo = {
scheme,
};
export type AppInfo = typeof appInfo;
function getMainAPIs() {
const meta: ExposedMeta = (() => {
const val = process.argv
@@ -94,3 +94,5 @@ export const sharedStorage = {
globalState,
globalCache,
};
export type SharedStorage = typeof sharedStorage;