commit
dd312794d8
1 changed files with 4 additions and 2 deletions
|
@ -174,6 +174,8 @@ function getPidsForProcessName(name) {
|
||||||
function createWindow () {
|
function createWindow () {
|
||||||
win = new BrowserWindow({backgroundColor: '#155B4A', minWidth: 800, minHeight: 600 }) //$color-primary
|
win = new BrowserWindow({backgroundColor: '#155B4A', minWidth: 800, minHeight: 600 }) //$color-primary
|
||||||
|
|
||||||
|
win.webContents.session.setUserAgent(`LBRY/${localVersion}`);
|
||||||
|
|
||||||
win.maximize()
|
win.maximize()
|
||||||
if (isDebug) {
|
if (isDebug) {
|
||||||
win.webContents.openDevTools();
|
win.webContents.openDevTools();
|
||||||
|
|
Loading…
Reference in a new issue