Changed it
This commit is contained in:
parent
9f4d689f2e
commit
87bb0c425d
2 changed files with 4 additions and 4 deletions
|
@ -158,8 +158,8 @@ export class Store {
|
|||
}
|
||||
}
|
||||
private migrations: any = {
|
||||
'1.4.3': (store: ElectronStore) => {
|
||||
if (typeof(store.get('general.discord_rpc')) == 'number') {
|
||||
'>=1.4.3': (store: ElectronStore) => {
|
||||
if (typeof(store.get('general.discord_rpc')) == 'number' || typeof(store.get('general.discord_rpc')) == 'string') {
|
||||
store.set('general.discord_rpc', this.defaults.general.discord_rpc)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue