(thisPath)
| 795 | }) |
| 796 | |
| 797 | function saveCompare_read(thisPath) { |
| 798 | try { |
| 799 | const saveResult = JSON.parse(parseSaveGame(thisPath)) |
| 800 | serveIPC.windowLib.sendModList({ thisSaveGame : saveResult }, 'save:saveInfo', 'save', false ) |
| 801 | } catch (err) { |
| 802 | serveIPC.log.danger('save-check', 'Load failed', thisPath, err.message) |
| 803 | } |
| 804 | } |
| 805 | function saveCompare_open(zipMode = false) { |
| 806 | const options = { |
| 807 | properties : [(zipMode) ? 'openFile' : 'openDirectory'], |
no test coverage detected