Set app-wide user agent #827

Merged
liamcardenas merged 1 commit from useragent into master 2017-12-08 16:36:18 +01:00

View file

@ -174,6 +174,8 @@ function getPidsForProcessName(name) {
function createWindow () {
win = new BrowserWindow({backgroundColor: '#155B4A', minWidth: 800, minHeight: 600 }) //$color-primary
win.webContents.session.setUserAgent(`LBRY/${localVersion}`);
win.maximize()
if (isDebug) {
win.webContents.openDevTools();