feat: 🎸 add net state (#947)

This commit is contained in:
divisey
2024-08-08 14:22:27 +08:00
committed by GitHub
parent 517f9d40d3
commit e5a328e284
13 changed files with 196 additions and 35 deletions

View File

@@ -6,6 +6,9 @@ import { Timeline } from "echogarden/dist/utilities/Timeline";
contextBridge.exposeInMainWorld("__ENJOY_APP__", {
app: {
getPlatformInfo: () => {
return ipcRenderer.invoke("app-platform-info");
},
reset: () => {
ipcRenderer.invoke("app-reset");
},