Lets try this

This commit is contained in:
Core 2022-04-14 18:48:02 +01:00
parent 87bb0c425d
commit 37fd3ecb47
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -160,6 +160,7 @@ export class Store {
private migrations: any = {
'>=1.4.3': (store: ElectronStore) => {
if (typeof(store.get('general.discord_rpc')) == 'number' || typeof(store.get('general.discord_rpc')) == 'string') {
store.delete('general.discord_rpc');
store.set('general.discord_rpc', this.defaults.general.discord_rpc)
}
},