Skip to content

Commit

Permalink
Revert "fix(screenshare): Fix screen capture permissions lib not bein…
Browse files Browse the repository at this point in the history
…g bundled" (#90)

This reverts commit e907e06.

Update version to 2.0.10

Co-authored-by: Tudor-Ovidiu Avram <[email protected]>
  • Loading branch information
quitrk and quitrk authored Aug 31, 2020
1 parent 5a22a6a commit 30131a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jitsi-meet-electron-utils",
"version": "2.0.9",
"version": "2.0.10",
"description": "Utilities for jitsi-meet-electron project",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions screensharing/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const electron = require('electron');

const { SCREEN_SHARE_EVENTS_CHANNEL, SCREEN_SHARE_EVENTS, TRACKER_SIZE } = require('./constants');
const { isMac } = require('./utils');
const macScreenCapturePermissions = require('mac-screen-capture-permissions');

/**
* Main process component that sets up electron specific screen sharing functionality, like screen sharing
Expand Down Expand Up @@ -121,7 +120,7 @@ class ScreenShareMainHook {
hasPromptedForPermission,
hasScreenCapturePermission,
resetPermissions,
} = macScreenCapturePermissions;
} = require('mac-screen-capture-permissions');

const hasPermission = hasScreenCapturePermission();
const promptedAlready = hasPromptedForPermission();
Expand Down

0 comments on commit 30131a4

Please sign in to comment.