Skip to content

Commit 30131a4

Browse files
Potecaru TudorTudor-Ovidiu Avram
andauthored
Revert "fix(screenshare): Fix screen capture permissions lib not being bundled" (#90)
This reverts commit e907e06. Update version to 2.0.10 Co-authored-by: Tudor-Ovidiu Avram <tudor.potecaru@8x8.com>
1 parent 5a22a6a commit 30131a4

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jitsi-meet-electron-utils",
3-
"version": "2.0.9",
3+
"version": "2.0.10",
44
"description": "Utilities for jitsi-meet-electron project",
55
"main": "index.js",
66
"scripts": {

screensharing/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ const electron = require('electron');
33

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

87
/**
98
* Main process component that sets up electron specific screen sharing functionality, like screen sharing
@@ -121,7 +120,7 @@ class ScreenShareMainHook {
121120
hasPromptedForPermission,
122121
hasScreenCapturePermission,
123122
resetPermissions,
124-
} = macScreenCapturePermissions;
123+
} = require('mac-screen-capture-permissions');
125124

126125
const hasPermission = hasScreenCapturePermission();
127126
const promptedAlready = hasPromptedForPermission();

0 commit comments

Comments
 (0)