Skip to content

Releases: codebytere/node-mac-permissions

v2.0.0

08 Apr 20:28
acbb558
Compare
Choose a tag to compare

Breaking Changes:

permissions.askForMediaAccess(type) has been removed and split into two new granular functions:

  • permissions.askForCameraAccess()
  • permissions.askForMicrophoneAccess()

v1.4.0

08 Apr 20:21
05da6ec
Compare
Choose a tag to compare
chore: bump 1.4.0

v1.3.0

25 Jan 03:46
028bcc9
Compare
Choose a tag to compare

Added the ability to check and query for authorization to Screen Capture:

const { askForScreenCaptureAccess, getAuthStatus } = require('node-mac-permissions')

const status = getAuthStatus('screen')

if (status !== 'authorized') {
  askForScreenCaptureAccess()
}

v1.0.1

04 Dec 23:22
9d84d28
Compare
Choose a tag to compare
chore: update badges