anonymize user agent from desktop app

This commit is contained in:
Kyle Spearrin 2019-06-19 16:43:08 -04:00
parent 8375f7381a
commit 740c01c33c
1 changed files with 3 additions and 1 deletions

View File

@ -116,7 +116,9 @@ export class WindowMain {
protocol: 'file:', protocol: 'file:',
pathname: path.join(__dirname, '/index.html'), pathname: path.join(__dirname, '/index.html'),
slashes: true, slashes: true,
})); }), {
userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0',
});
// Open the DevTools. // Open the DevTools.
if (isDev()) { if (isDev()) {