From 1fcfccd9fb8d52a599aea1145deff7c3aaecaa97 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 17 May 2021 17:08:05 +0530 Subject: Changed occurrences of 'Franz' to 'Ferdi' (probably missed earlier while catchup from Franz source). [skip ci] --- src/electron/ipc-api/cld.js | 2 +- src/electron/ipc-api/dnd.js | 2 +- src/electron/macOSPermissions.js | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src/electron') diff --git a/src/electron/ipc-api/cld.js b/src/electron/ipc-api/cld.js index 23f18aa94..73e320ad9 100644 --- a/src/electron/ipc-api/cld.js +++ b/src/electron/ipc-api/cld.js @@ -1,7 +1,7 @@ import { ipcMain } from 'electron'; import cld from 'cld'; -const debug = require('debug')('Franz:ipcApi:cld'); +const debug = require('debug')('Ferdi:ipcApi:cld'); export default async () => { ipcMain.handle('detect-language', async (event, { sample }) => { diff --git a/src/electron/ipc-api/dnd.js b/src/electron/ipc-api/dnd.js index 4589aa222..da4d7781e 100644 --- a/src/electron/ipc-api/dnd.js +++ b/src/electron/ipc-api/dnd.js @@ -1,7 +1,7 @@ import { ipcMain } from 'electron'; import { getDoNotDisturb } from '@meetfranz/electron-notification-state'; -const debug = require('debug')('Franz:ipcApi:dnd'); +const debug = require('debug')('Ferdi:ipcApi:dnd'); export default async () => { ipcMain.handle('get-dnd', async () => { 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) { askForScreenCaptureAccess = require('node-mac-permissions').askForScreenCaptureAccess; } -const debug = require('debug')('Franz:macOSPermissions'); +const debug = require('debug')('Ferdi:macOSPermissions'); const permissionExists = macosVersion.isGreaterThanOrEqualTo('10.15'); const filePath = path.join(app.getPath('userData'), '.has-app-requested-screen-capture-permissions'); @@ -49,7 +49,6 @@ function createStatusFile() { } } - export default async function (mainWindow) { debug('Checking camera & microphone permissions'); systemPreferences.askForMediaAccess('camera'); @@ -61,7 +60,7 @@ export default async function (mainWindow) { const { response } = await dialog.showMessageBox(mainWindow, { type: 'info', message: 'Enable Screen Sharing', - detail: 'To enable screen sharing for some services, Franz needs the permission to record your screen.', + detail: 'To enable screen sharing for some services, Ferdi needs the permission to record your screen.', buttons: [ 'Allow screen sharing', 'No', -- cgit v1.2.3-54-g00ecf