Add a UA tag for the app
This commit is contained in:
@@ -560,6 +560,7 @@ function createWindow() {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
handleWindow(mainWindow);
|
handleWindow(mainWindow);
|
||||||
|
mainWindow.webContents.session.setUserAgent(mainWindow.webContents.session.getUserAgent() + ' SQ/' + app.getVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupMenu() {
|
function setupMenu() {
|
||||||
|
|||||||
Reference in New Issue
Block a user