bitburner-src/electron
Martin Fournier 855a4e622d Add Electron preload script to allow communication
Adds a channel to communicate between the main process & the renderer
process, so that the game can easily ship data back to the main process.

It uses the Electron contextBridge & ipcRenderer/ipcMain.

Connects those events to various save functions. Adds triggered events
on game save, game load, and imported game. Adds way for the Electron
app to ask for certain actions or data.

Hook handlers to disable automatic restore

Allows to temporarily disable restore when the game just did an import
or deleted a save game. Prevents looping screens.
2022-01-26 03:56:19 -05:00
..
lib more electron files 2021-12-03 10:38:21 -05:00
achievements.js Reduce log level for the all achievements and player achievements listings 2022-01-14 23:41:01 +02:00
api-server.js Fix type in delete function 2022-01-21 08:52:53 -08:00
exit.html Crash render process when javascript won't execute 2021-12-23 07:48:01 -05:00
export.html Add launch option to directly export save game 2021-12-30 11:51:15 -05:00
gameWindow.js Add Electron preload script to allow communication 2022-01-26 03:56:19 -05:00
greenworks.js achievements 2021-11-27 15:07:25 -05:00
icon.icns work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
icon.ico work on making sure all the functions are accounted for 2021-11-03 18:16:10 -04:00
icon.png electron build 2021-09-16 18:10:27 -04:00
main.js Fix 'Steam not running' popup causing crash on Mac 2022-01-23 13:04:19 -05:00
menu.js Add zoom to electron app 2022-01-04 21:20:42 -05:00
package-lock.json Include lodash in Electron 2022-01-26 03:40:22 -05:00
package.json Include lodash in Electron 2022-01-26 03:40:22 -05:00
preload.js Add Electron preload script to allow communication 2022-01-26 03:56:19 -05:00
steam_appid.txt achievements 2021-11-27 15:07:25 -05:00
utils.js Add zoom to electron app 2022-01-04 21:20:42 -05:00