Set app-wide user agent #827
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue