Set app-wide user agent

This commit is contained in:
Liam Cardenas 2017-12-07 12:04:08 -08:00
parent 8f83337640
commit 6adece2496

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