diff options
author | 2021-05-17 17:08:05 +0530 | |
---|---|---|
committer | 2021-05-17 13:18:26 +0000 | |
commit | 1fcfccd9fb8d52a599aea1145deff7c3aaecaa97 (patch) | |
tree | f08453e0e4d2256eff24803ff83918ce327998d8 /src/electron/macOSPermissions.js | |
parent | Missed 'prepare' step that enforces the installation of the git pre-commit hooks (diff) | |
download | ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.tar.gz ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.tar.zst ferdium-app-1fcfccd9fb8d52a599aea1145deff7c3aaecaa97.zip |
Changed occurrences of 'Franz' to 'Ferdi' (probably missed earlier while catchup from Franz source). [skip ci]
Diffstat (limited to 'src/electron/macOSPermissions.js')
-rw-r--r-- | src/electron/macOSPermissions.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/electron/macOSPermissions.js b/src/electron/macOSPermissions.js index 682a46a41..940b16c6e 100644 --- a/src/electron/macOSPermissions.js +++ b/src/electron/macOSPermissions.js | |||
@@ -10,7 +10,7 @@ if (isMac) { | |||
10 | askForScreenCaptureAccess = require('node-mac-permissions').askForScreenCaptureAccess; | 10 | askForScreenCaptureAccess = require('node-mac-permissions').askForScreenCaptureAccess; |
11 | } | 11 | } |
12 | 12 | ||
13 | const debug = require('debug')('Franz:macOSPermissions'); | 13 | const debug = require('debug')('Ferdi:macOSPermissions'); |
14 | 14 | ||
15 | const permissionExists = macosVersion.isGreaterThanOrEqualTo('10.15'); | 15 | const permissionExists = macosVersion.isGreaterThanOrEqualTo('10.15'); |
16 | const filePath = path.join(app.getPath('userData'), '.has-app-requested-screen-capture-permissions'); | 16 | const filePath = path.join(app.getPath('userData'), '.has-app-requested-screen-capture-permissions'); |
@@ -49,7 +49,6 @@ function createStatusFile() { | |||
49 | } | 49 | } |
50 | } | 50 | } |
51 | 51 | ||
52 | |||
53 | export default async function (mainWindow) { | 52 | export default async function (mainWindow) { |
54 | debug('Checking camera & microphone permissions'); | 53 | debug('Checking camera & microphone permissions'); |
55 | systemPreferences.askForMediaAccess('camera'); | 54 | systemPreferences.askForMediaAccess('camera'); |
@@ -61,7 +60,7 @@ export default async function (mainWindow) { | |||
61 | const { response } = await dialog.showMessageBox(mainWindow, { | 60 | const { response } = await dialog.showMessageBox(mainWindow, { |
62 | type: 'info', | 61 | type: 'info', |
63 | message: 'Enable Screen Sharing', | 62 | message: 'Enable Screen Sharing', |
64 | detail: 'To enable screen sharing for some services, Franz needs the permission to record your screen.', | 63 | detail: 'To enable screen sharing for some services, Ferdi needs the permission to record your screen.', |
65 | buttons: [ | 64 | buttons: [ |
66 | 'Allow screen sharing', | 65 | 'Allow screen sharing', |
67 | 'No', | 66 | 'No', |