feat: implemented a basic store and emulatorjs
This commit is contained in:
parent
2f32cbc730
commit
7286541822
121 changed files with 5900 additions and 1092 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { SERVER_URL } from "@/shared/constants";
|
||||
import { SERVER_URL } from "@shared/constants";
|
||||
import { host } from "../utils/host";
|
||||
|
||||
export default function (webview: { navigate: (url: string) => void; run: () => void; destroy: () => void; })
|
||||
|
|
@ -14,4 +14,5 @@ export default function (webview: { navigate: (url: string) => void; run: () =>
|
|||
};
|
||||
webview.navigate(SERVER_URL(host));
|
||||
webview.run();
|
||||
postMessage({ data: 'destroyed' });
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue