Skip to content

Commit

Permalink
fix: correctly apply migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Enubia committed Apr 26, 2024
1 parent fd48438 commit b610cdf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions electron/main/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,14 @@ export default function createStore() {
'3.0.1': (store) => {
store.delete('chatOptions');
},
'3.0.2': (store) => {
const data: Twitch = {
...StoreDefaults.options.twitch,
...store.get('options.twitch'),
};

store.set('options.twitch', data);
},
},
});
}

0 comments on commit b610cdf

Please sign in to comment.