diff options
author | vantezzen <properly@protonmail.com> | 2019-08-21 14:28:15 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-08-21 14:28:15 +0200 |
commit | 8769c4f4ad2d3b4706ff227386bec0e83bacf980 (patch) | |
tree | 6bf4ea214df9171393a1a39baee2c1a81efe3055 /src/index.js | |
parent | Update translation line numbers (diff) | |
download | ferdium-app-8769c4f4ad2d3b4706ff227386bec0e83bacf980.tar.gz ferdium-app-8769c4f4ad2d3b4706ff227386bec0e83bacf980.tar.zst ferdium-app-8769c4f4ad2d3b4706ff227386bec0e83bacf980.zip |
Replace public Franz occurences with Ferdi
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/index.js b/src/index.js index 55592c328..a5cf16db9 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -96,7 +96,7 @@ if (!gotTheLock) { | |||
96 | } else if (argv.includes('--quit')) { | 96 | } else if (argv.includes('--quit')) { |
97 | // Needs to be delayed to not interfere with mainWindow.restore(); | 97 | // Needs to be delayed to not interfere with mainWindow.restore(); |
98 | setTimeout(() => { | 98 | setTimeout(() => { |
99 | debug('Quitting Franz via Task'); | 99 | debug('Quitting Ferdi via Task'); |
100 | app.quit(); | 100 | app.quit(); |
101 | }, 1); | 101 | }, 1); |
102 | } | 102 | } |
@@ -131,7 +131,7 @@ if (!gotTheLock) { | |||
131 | // }); | 131 | // }); |
132 | 132 | ||
133 | // if (isSecondInstance) { | 133 | // if (isSecondInstance) { |
134 | // console.log('An instance of Franz is already running. Exiting...'); | 134 | // console.log('An instance of Ferdi is already running. Exiting...'); |
135 | // app.exit(); | 135 | // app.exit(); |
136 | // } | 136 | // } |
137 | 137 | ||
@@ -310,7 +310,7 @@ const createWindow = () => { | |||
310 | // https://electronjs.org/docs/api/chrome-command-line-switches | 310 | // https://electronjs.org/docs/api/chrome-command-line-switches |
311 | // used for Kerberos support | 311 | // used for Kerberos support |
312 | // Usage e.g. MACOS | 312 | // Usage e.g. MACOS |
313 | // $ Franz.app/Contents/MacOS/Franz --auth-server-whitelist *.mydomain.com --auth-negotiate-delegate-whitelist *.mydomain.com | 313 | // $ Franz.app/Contents/MacOS/Ferdi --auth-server-whitelist *.mydomain.com --auth-negotiate-delegate-whitelist *.mydomain.com |
314 | const argv = require('minimist')(process.argv.slice(1)); | 314 | const argv = require('minimist')(process.argv.slice(1)); |
315 | 315 | ||
316 | if (argv['auth-server-whitelist']) { | 316 | if (argv['auth-server-whitelist']) { |
@@ -337,13 +337,13 @@ app.on('ready', () => { | |||
337 | arguments: `${isDevMode ? `${__dirname} ` : ''}--reset-window`, | 337 | arguments: `${isDevMode ? `${__dirname} ` : ''}--reset-window`, |
338 | iconPath: asarPath(path.join(isDevMode ? `${__dirname}../src/` : __dirname, 'assets/images/taskbar/win32/display.ico')), | 338 | iconPath: asarPath(path.join(isDevMode ? `${__dirname}../src/` : __dirname, 'assets/images/taskbar/win32/display.ico')), |
339 | iconIndex: 0, | 339 | iconIndex: 0, |
340 | title: 'Move Franz to Current Display', | 340 | title: 'Move Ferdi to Current Display', |
341 | description: 'Restore the position and size of Franz', | 341 | description: 'Restore the position and size of Ferdi', |
342 | }, { | 342 | }, { |
343 | program: process.execPath, | 343 | program: process.execPath, |
344 | arguments: `${isDevMode ? `${__dirname} ` : ''}--quit`, | 344 | arguments: `${isDevMode ? `${__dirname} ` : ''}--quit`, |
345 | iconIndex: 0, | 345 | iconIndex: 0, |
346 | title: 'Quit Franz', | 346 | title: 'Quit Ferdi', |
347 | }]); | 347 | }]); |
348 | } | 348 | } |
349 | 349 | ||