Skip to content

Commit

Permalink
feat: send user agent to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Jul 30, 2019
1 parent bbed35e commit e0eb846
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/network-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ window.addEventListener('online', window.updateOnlineStatus);
window.addEventListener('offline', window.updateOnlineStatus);

window.updateOnlineStatus();

ipcRenderer.send('user-agent', navigator.userAgent);

0 comments on commit e0eb846

Please sign in to comment.