MCPcopy
hub / github.com/GooseMod/OpenAsar / launchMain

Function launchMain

src/splash/index.js:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41};
42
43const launchMain = () => {
44 moduleUpdater.events.removeAllListeners(); // Remove updater v1 listeners
45
46 if (!launched && win != null) {
47 sendState('starting');
48
49 launched = true;
50 events.emit('APP_SHOULD_LAUNCH');
51 }
52};
53
54const sendState = (status, s = {}) => {
55 try {

Callers 3

index.jsFile · 0.85
initNewFunction · 0.85
initOldFunction · 0.85

Calls 1

sendStateFunction · 0.85

Tested by

no test coverage detected