Skip to content

Commit

Permalink
fix(linux): Don't check permissions when on a linux based system.
Browse files Browse the repository at this point in the history
fix #553
  • Loading branch information
TimPietrusky committed Feb 23, 2021
1 parent c6b3fbd commit 65dc0c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ const windowPrefs = {
// Check for updates
autoUpdater.checkForUpdatesAndNotify();

await checkMediaPermission();
if (process.platform !== "linux") {
await checkMediaPermission();
}
},

destroy() {
Expand Down

0 comments on commit 65dc0c1

Please sign in to comment.