Merge pull request #2359 from lbryio/fix-linux-updater

Remove incorrect constant
This commit is contained in:
Shawn K 2019-03-18 22:52:26 -05:00 committed by GitHub
commit 2b05ddb962
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);