Skip to content

Commit

Permalink
Linux app category added, user agent updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadzim Miashaikin committed Dec 12, 2017
1 parent 07d60ab commit 73a9f87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
"app/**/*",
"node_modules/**/*",
"package.json"
]
],
"appImage": {
"category": "Network"
}


},
"scripts": {
"postinstall": "install-app-deps electron-builder install-app-deps",
Expand Down
2 changes: 1 addition & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ app.on('ready', () => {
});

mainWindow.webContents.setUserAgent(
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36'
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.2883.87 Safari/537.36'
);

mainWindow.loadURL('https://teams.microsoft.com/');
Expand Down

0 comments on commit 73a9f87

Please sign in to comment.