Strip out Electron and NodeJS-specific functions to get the game working on a basic level
This commit is contained in:
parent
ef3620f4f9
commit
fe0ec3a2c7
4 changed files with 16 additions and 14 deletions
|
|
@ -44,9 +44,6 @@
|
|||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
const {dialog,app} = require('electron').remote;
|
||||
const fs = require('fs');
|
||||
|
||||
let donsol = new Donsol();
|
||||
|
||||
donsol.controller.add("default","*","About",() => { require('electron').shell.openExternal('https://github.com/hundredrabbits/Donsol'); },"CmdOrCtrl+,");
|
||||
|
|
@ -76,8 +73,6 @@
|
|||
donsol.controller.add("default","Theme","Reset Theme",() => { donsol.theme.reset(); },"CmdOrCtrl+Shift+Backspace")
|
||||
donsol.controller.add("default","Theme","Download Themes..",() => { require('electron').shell.openExternal('https://github.com/hundredrabbits/Themes'); })
|
||||
|
||||
donsol.controller.commit();
|
||||
|
||||
donsol.install(document.body)
|
||||
donsol.start();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue