fix metadata restoration

This commit is contained in:
SpikeHD
2022-07-13 21:23:41 -07:00
parent 7cbb600a7f
commit 9bdb18d4d6
2 changed files with 4 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ class App extends React.Component<IProps, IState> {
listen('game_closed', async () => {
const unpatched = await unpatchGame()
console.log(`unpatched game? ${unpatched}`)
if (!unpatched) {
alert(`Could not unpatch game! (You should be able to find your metadata backup in ${await dataDir()}\\cultivation\\)`)
}