Set app-wide user agent
This commit is contained in:
parent
8f83337640
commit
6adece2496
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