downgrade sdk and fix typo
This commit is contained in:
parent
c321db4cab
commit
27751c5e42
2 changed files with 10 additions and 6 deletions
|
@ -206,7 +206,7 @@
|
||||||
"yarn": "^1.3"
|
"yarn": "^1.3"
|
||||||
},
|
},
|
||||||
"lbrySettings": {
|
"lbrySettings": {
|
||||||
"lbrynetDaemonVersion": "0.53.3",
|
"lbrynetDaemonVersion": "0.50.1",
|
||||||
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
"lbrynetDaemonUrlTemplate": "https://github.com/lbryio/lbry/releases/download/vDAEMONVER/lbrynet-OSNAME.zip",
|
||||||
"lbrynetDaemonDir": "static/daemon",
|
"lbrynetDaemonDir": "static/daemon",
|
||||||
"lbrynetDaemonFileName": "lbrynet"
|
"lbrynetDaemonFileName": "lbrynet"
|
||||||
|
|
14
ui/index.jsx
14
ui/index.jsx
|
@ -127,11 +127,15 @@ Lbryio.setOverride(
|
||||||
// Old users who haven't moved to storing the auth_token in a cookie
|
// Old users who haven't moved to storing the auth_token in a cookie
|
||||||
// Get it => set it => delete from keychain
|
// Get it => set it => delete from keychain
|
||||||
ipcRenderer.once('auth-token-response', (event, keychainToken) => {
|
ipcRenderer.once('auth-token-response', (event, keychainToken) => {
|
||||||
Lbryio.authToken = keychainToken;
|
if (keychainToken) {
|
||||||
setAuthToken(keychainToken);
|
Lbryio.authToken = keychainToken;
|
||||||
resolve(keychainToken);
|
setAuthToken(keychainToken);
|
||||||
|
resolve(keychainToken);
|
||||||
ipcRenderer.send('delete-auth-token');
|
ipcRenderer.send('delete-auth-token');
|
||||||
|
} else {
|
||||||
|
// No auth_token saved anywhere
|
||||||
|
resolve('');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
ipcRenderer.send('get-auth-token');
|
ipcRenderer.send('get-auth-token');
|
||||||
|
|
Loading…
Add table
Reference in a new issue