blob: d14d2ee43c3ffb5d929c59f5a60bc52d2126d2de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
const update = require("./update");
// tells the main process to launch `game_version`
module.exports = (game_version) => {
if (game_version == "vanilla") {
ipcRenderer.send("launch", game_version);
return;
}
if (update.ns.should_install) {
update.ns();
} else {
ipcRenderer.send("launch", game_version);
}
}
|