Merge pull request #2359 from lbryio/fix-linux-updater
Remove incorrect constant
This commit is contained in:
commit
2b05ddb962
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ ipcMain.on('version-info-requested', () => {
|
|||
const req = https.get({
|
||||
hostname: 'api.github.com',
|
||||
path: '/repos/lbryio/lbry-desktop/releases/latest',
|
||||
headers: { 'user-agent': 'LBRY/0.29.4' },
|
||||
headers: { 'user-agent': `LBRY/${localVersion}` },
|
||||
}, res => {
|
||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||
requestLatestRelease(res.headers.location, true);
|
||||
|
|
Loading…
Reference in a new issue