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

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

View File

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

View File

@@ -94,3 +94,5 @@ export const sharedStorage = {
globalState,
globalCache,
};
export type SharedStorage = typeof sharedStorage;