Lets try this
This commit is contained in:
parent
87bb0c425d
commit
37fd3ecb47
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue