mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +01:00
855a4e622d
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. |
||
---|---|---|
.. | ||
lib | ||
achievements.js | ||
api-server.js | ||
exit.html | ||
export.html | ||
gameWindow.js | ||
greenworks.js | ||
icon.icns | ||
icon.ico | ||
icon.png | ||
main.js | ||
menu.js | ||
package-lock.json | ||
package.json | ||
preload.js | ||
steam_appid.txt | ||
utils.js |