aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-05-27 20:37:32 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-27 20:37:32 +0200
commit38de1e0cf41b9d5527d405952e2d66e983ca2a5c (patch)
tree0815e4e56dfecbdf1c8775a3954c601031b7a944
parentUse electronuserland base image so that we don't need to manually track all s... (diff)
downloadferdi-38de1e0cf41b9d5527d405952e2d66e983ca2a5c.tar.gz
ferdi-38de1e0cf41b9d5527d405952e2d66e983ca2a5c.tar.zst
ferdi-38de1e0cf41b9d5527d405952e2d66e983ca2a5c.zip
Environmental variables for dev/production mode (#1455)
* Restore ELECTRON_IS_DEV environment variable As part of migrating to @electron/remote from electron.remote, 296ce5ce6 removed the electron-is-dev package and with it the support of selecting dev/production mode with the ELECTRON_IS_DEV environmental variable. This commit restores support for this variable. Because even the newest version of the electron-is-dev package breaks in renderer processes, we instead query the environment ourselves. * Add support for NODE_ENV variable Also support NODE_ENV for specifying dev mode in addition to the ELECTRON_IS_DEV variable. This variable is used by e.g., the packaging in Arch Linux to trigger production mode with an explicit electron command line invocation: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ferdi-git&id=61dc59e5eb19a2c9e8f9edaf0a63aaae72990a0b#n109 * Refactor environmental variable handling
-rw-r--r--src/config.js18
-rw-r--r--src/environment.js5
-rw-r--r--src/i18n/locales/defaultMessages.json296
-rw-r--r--src/index.js2
4 files changed, 170 insertions, 151 deletions
diff --git a/src/config.js b/src/config.js
index 127dcd2d..189959a4 100644
--- a/src/config.js
+++ b/src/config.js
@@ -196,7 +196,23 @@ if (process.env.FERDI_APPDATA_DIR != null) {
196 app.setPath('userData', path.join(app.getPath('appData'), app.name)); 196 app.setPath('userData', path.join(app.getPath('appData'), app.name));
197} 197}
198 198
199export const isDevMode = !app.isPackaged; 199const ELECTRON_IS_DEV_VAR = 'ELECTRON_IS_DEV';
200const NODE_ENV_VAR = 'NODE_ENV';
201
202// TODO Move this to environment.js and remove the re-export from there.
203export const isDevMode = (() => {
204 const isEnvVarSet = name => name in process.env;
205 if (isEnvVarSet(ELECTRON_IS_DEV_VAR)) {
206 // Copied from https://github.com/sindresorhus/electron-is-dev/blob/f05330b856782dac7987b10859bfd95ea6a187a6/index.js
207 // but electron-is-dev breaks in a renderer process, so we use the app import from above instead.
208 const electronIsDev = process.env[ELECTRON_IS_DEV_VAR];
209 return electronIsDev === 'true' || Number.parseInt(electronIsDev, 10) === 1;
210 }
211 if (isEnvVarSet(NODE_ENV_VAR)) {
212 return process.env[NODE_ENV_VAR] === 'development';
213 }
214 return !app.isPackaged;
215})();
200if (isDevMode) { 216if (isDevMode) {
201 app.setPath('userData', path.join(app.getPath('appData'), `${app.name}Dev`)); 217 app.setPath('userData', path.join(app.getPath('appData'), `${app.name}Dev`));
202} 218}
diff --git a/src/environment.js b/src/environment.js
index 1aa0def0..fb7c9d13 100644
--- a/src/environment.js
+++ b/src/environment.js
@@ -1,4 +1,5 @@
1import { 1import {
2 isDevMode as isDev,
2 LIVE_API, 3 LIVE_API,
3 DEV_API, 4 DEV_API,
4 LOCAL_API, 5 LOCAL_API,
@@ -15,7 +16,9 @@ import {
15// eslint-disable-next-line global-require 16// eslint-disable-next-line global-require
16export const { app } = process.type === 'renderer' ? require('@electron/remote') : require('electron'); 17export const { app } = process.type === 'renderer' ? require('@electron/remote') : require('electron');
17 18
18export const isDevMode = !app.isPackaged; 19// TODO Remove this re-export and move the code from config.js to here.
20export const isDevMode = isDev;
21
19export const useLiveAPI = process.env.LIVE_API; 22export const useLiveAPI = process.env.LIVE_API;
20export const useLocalAPI = process.env.LOCAL_API; 23export const useLocalAPI = process.env.LOCAL_API;
21 24
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json
index dde2957a..ef25aa3d 100644
--- a/src/i18n/locales/defaultMessages.json
+++ b/src/i18n/locales/defaultMessages.json
@@ -7353,962 +7353,962 @@
7353 "defaultMessage": "!!!Edit", 7353 "defaultMessage": "!!!Edit",
7354 "end": { 7354 "end": {
7355 "column": 3, 7355 "column": 3,
7356 "line": 24 7356 "line": 26
7357 }, 7357 },
7358 "file": "src/lib/Menu.js", 7358 "file": "src/lib/Menu.js",
7359 "id": "menu.edit", 7359 "id": "menu.edit",
7360 "start": { 7360 "start": {
7361 "column": 8, 7361 "column": 8,
7362 "line": 21 7362 "line": 23
7363 } 7363 }
7364 }, 7364 },
7365 { 7365 {
7366 "defaultMessage": "!!!Undo", 7366 "defaultMessage": "!!!Undo",
7367 "end": { 7367 "end": {
7368 "column": 3, 7368 "column": 3,
7369 "line": 28 7369 "line": 30
7370 }, 7370 },
7371 "file": "src/lib/Menu.js", 7371 "file": "src/lib/Menu.js",
7372 "id": "menu.edit.undo", 7372 "id": "menu.edit.undo",
7373 "start": { 7373 "start": {
7374 "column": 8, 7374 "column": 8,
7375 "line": 25 7375 "line": 27
7376 } 7376 }
7377 }, 7377 },
7378 { 7378 {
7379 "defaultMessage": "!!!Redo", 7379 "defaultMessage": "!!!Redo",
7380 "end": { 7380 "end": {
7381 "column": 3, 7381 "column": 3,
7382 "line": 32 7382 "line": 34
7383 }, 7383 },
7384 "file": "src/lib/Menu.js", 7384 "file": "src/lib/Menu.js",
7385 "id": "menu.edit.redo", 7385 "id": "menu.edit.redo",
7386 "start": { 7386 "start": {
7387 "column": 8, 7387 "column": 8,
7388 "line": 29 7388 "line": 31
7389 } 7389 }
7390 }, 7390 },
7391 { 7391 {
7392 "defaultMessage": "!!!Cut", 7392 "defaultMessage": "!!!Cut",
7393 "end": { 7393 "end": {
7394 "column": 3, 7394 "column": 3,
7395 "line": 36 7395 "line": 38
7396 }, 7396 },
7397 "file": "src/lib/Menu.js", 7397 "file": "src/lib/Menu.js",
7398 "id": "menu.edit.cut", 7398 "id": "menu.edit.cut",
7399 "start": { 7399 "start": {
7400 "column": 7, 7400 "column": 7,
7401 "line": 33 7401 "line": 35
7402 } 7402 }
7403 }, 7403 },
7404 { 7404 {
7405 "defaultMessage": "!!!Copy", 7405 "defaultMessage": "!!!Copy",
7406 "end": { 7406 "end": {
7407 "column": 3, 7407 "column": 3,
7408 "line": 40 7408 "line": 42
7409 }, 7409 },
7410 "file": "src/lib/Menu.js", 7410 "file": "src/lib/Menu.js",
7411 "id": "menu.edit.copy", 7411 "id": "menu.edit.copy",
7412 "start": { 7412 "start": {
7413 "column": 8, 7413 "column": 8,
7414 "line": 37 7414 "line": 39
7415 } 7415 }
7416 }, 7416 },
7417 { 7417 {
7418 "defaultMessage": "!!!Paste", 7418 "defaultMessage": "!!!Paste",
7419 "end": { 7419 "end": {
7420 "column": 3, 7420 "column": 3,
7421 "line": 44 7421 "line": 46
7422 }, 7422 },
7423 "file": "src/lib/Menu.js", 7423 "file": "src/lib/Menu.js",
7424 "id": "menu.edit.paste", 7424 "id": "menu.edit.paste",
7425 "start": { 7425 "start": {
7426 "column": 9, 7426 "column": 9,
7427 "line": 41 7427 "line": 43
7428 } 7428 }
7429 }, 7429 },
7430 { 7430 {
7431 "defaultMessage": "!!!Paste And Match Style", 7431 "defaultMessage": "!!!Paste And Match Style",
7432 "end": { 7432 "end": {
7433 "column": 3, 7433 "column": 3,
7434 "line": 48 7434 "line": 50
7435 }, 7435 },
7436 "file": "src/lib/Menu.js", 7436 "file": "src/lib/Menu.js",
7437 "id": "menu.edit.pasteAndMatchStyle", 7437 "id": "menu.edit.pasteAndMatchStyle",
7438 "start": { 7438 "start": {
7439 "column": 22, 7439 "column": 22,
7440 "line": 45 7440 "line": 47
7441 } 7441 }
7442 }, 7442 },
7443 { 7443 {
7444 "defaultMessage": "!!!Delete", 7444 "defaultMessage": "!!!Delete",
7445 "end": { 7445 "end": {
7446 "column": 3, 7446 "column": 3,
7447 "line": 52 7447 "line": 54
7448 }, 7448 },
7449 "file": "src/lib/Menu.js", 7449 "file": "src/lib/Menu.js",
7450 "id": "menu.edit.delete", 7450 "id": "menu.edit.delete",
7451 "start": { 7451 "start": {
7452 "column": 10, 7452 "column": 10,
7453 "line": 49 7453 "line": 51
7454 } 7454 }
7455 }, 7455 },
7456 { 7456 {
7457 "defaultMessage": "!!!Select All", 7457 "defaultMessage": "!!!Select All",
7458 "end": { 7458 "end": {
7459 "column": 3, 7459 "column": 3,
7460 "line": 56 7460 "line": 58
7461 }, 7461 },
7462 "file": "src/lib/Menu.js", 7462 "file": "src/lib/Menu.js",
7463 "id": "menu.edit.selectAll", 7463 "id": "menu.edit.selectAll",
7464 "start": { 7464 "start": {
7465 "column": 13, 7465 "column": 13,
7466 "line": 53 7466 "line": 55
7467 } 7467 }
7468 }, 7468 },
7469 { 7469 {
7470 "defaultMessage": "!!!Find in Page", 7470 "defaultMessage": "!!!Find in Page",
7471 "end": { 7471 "end": {
7472 "column": 3, 7472 "column": 3,
7473 "line": 60 7473 "line": 62
7474 }, 7474 },
7475 "file": "src/lib/Menu.js", 7475 "file": "src/lib/Menu.js",
7476 "id": "menu.edit.findInPage", 7476 "id": "menu.edit.findInPage",
7477 "start": { 7477 "start": {
7478 "column": 14, 7478 "column": 14,
7479 "line": 57 7479 "line": 59
7480 } 7480 }
7481 }, 7481 },
7482 { 7482 {
7483 "defaultMessage": "!!!Speech", 7483 "defaultMessage": "!!!Speech",
7484 "end": { 7484 "end": {
7485 "column": 3, 7485 "column": 3,
7486 "line": 64 7486 "line": 66
7487 }, 7487 },
7488 "file": "src/lib/Menu.js", 7488 "file": "src/lib/Menu.js",
7489 "id": "menu.edit.speech", 7489 "id": "menu.edit.speech",
7490 "start": { 7490 "start": {
7491 "column": 10, 7491 "column": 10,
7492 "line": 61 7492 "line": 63
7493 } 7493 }
7494 }, 7494 },
7495 { 7495 {
7496 "defaultMessage": "!!!Start Speaking", 7496 "defaultMessage": "!!!Start Speaking",
7497 "end": { 7497 "end": {
7498 "column": 3, 7498 "column": 3,
7499 "line": 68 7499 "line": 70
7500 }, 7500 },
7501 "file": "src/lib/Menu.js", 7501 "file": "src/lib/Menu.js",
7502 "id": "menu.edit.startSpeaking", 7502 "id": "menu.edit.startSpeaking",
7503 "start": { 7503 "start": {
7504 "column": 17, 7504 "column": 17,
7505 "line": 65 7505 "line": 67
7506 } 7506 }
7507 }, 7507 },
7508 { 7508 {
7509 "defaultMessage": "!!!Stop Speaking", 7509 "defaultMessage": "!!!Stop Speaking",
7510 "end": { 7510 "end": {
7511 "column": 3, 7511 "column": 3,
7512 "line": 72 7512 "line": 74
7513 }, 7513 },
7514 "file": "src/lib/Menu.js", 7514 "file": "src/lib/Menu.js",
7515 "id": "menu.edit.stopSpeaking", 7515 "id": "menu.edit.stopSpeaking",
7516 "start": { 7516 "start": {
7517 "column": 16, 7517 "column": 16,
7518 "line": 69 7518 "line": 71
7519 } 7519 }
7520 }, 7520 },
7521 { 7521 {
7522 "defaultMessage": "!!!Start Dictation", 7522 "defaultMessage": "!!!Start Dictation",
7523 "end": { 7523 "end": {
7524 "column": 3, 7524 "column": 3,
7525 "line": 76 7525 "line": 78
7526 }, 7526 },
7527 "file": "src/lib/Menu.js", 7527 "file": "src/lib/Menu.js",
7528 "id": "menu.edit.startDictation", 7528 "id": "menu.edit.startDictation",
7529 "start": { 7529 "start": {
7530 "column": 18, 7530 "column": 18,
7531 "line": 73 7531 "line": 75
7532 } 7532 }
7533 }, 7533 },
7534 { 7534 {
7535 "defaultMessage": "!!!Emoji & Symbols", 7535 "defaultMessage": "!!!Emoji & Symbols",
7536 "end": { 7536 "end": {
7537 "column": 3, 7537 "column": 3,
7538 "line": 80 7538 "line": 82
7539 }, 7539 },
7540 "file": "src/lib/Menu.js", 7540 "file": "src/lib/Menu.js",
7541 "id": "menu.edit.emojiSymbols", 7541 "id": "menu.edit.emojiSymbols",
7542 "start": { 7542 "start": {
7543 "column": 16, 7543 "column": 16,
7544 "line": 77 7544 "line": 79
7545 } 7545 }
7546 }, 7546 },
7547 { 7547 {
7548 "defaultMessage": "!!!Open Quick Switch", 7548 "defaultMessage": "!!!Open Quick Switch",
7549 "end": { 7549 "end": {
7550 "column": 3, 7550 "column": 3,
7551 "line": 84 7551 "line": 86
7552 }, 7552 },
7553 "file": "src/lib/Menu.js", 7553 "file": "src/lib/Menu.js",
7554 "id": "menu.view.openQuickSwitch", 7554 "id": "menu.view.openQuickSwitch",
7555 "start": { 7555 "start": {
7556 "column": 19, 7556 "column": 19,
7557 "line": 81 7557 "line": 83
7558 } 7558 }
7559 }, 7559 },
7560 { 7560 {
7561 "defaultMessage": "!!!Back", 7561 "defaultMessage": "!!!Back",
7562 "end": { 7562 "end": {
7563 "column": 3, 7563 "column": 3,
7564 "line": 88 7564 "line": 90
7565 }, 7565 },
7566 "file": "src/lib/Menu.js", 7566 "file": "src/lib/Menu.js",
7567 "id": "menu.view.back", 7567 "id": "menu.view.back",
7568 "start": { 7568 "start": {
7569 "column": 8, 7569 "column": 8,
7570 "line": 85 7570 "line": 87
7571 } 7571 }
7572 }, 7572 },
7573 { 7573 {
7574 "defaultMessage": "!!!Forward", 7574 "defaultMessage": "!!!Forward",
7575 "end": { 7575 "end": {
7576 "column": 3, 7576 "column": 3,
7577 "line": 92 7577 "line": 94
7578 }, 7578 },
7579 "file": "src/lib/Menu.js", 7579 "file": "src/lib/Menu.js",
7580 "id": "menu.view.forward", 7580 "id": "menu.view.forward",
7581 "start": { 7581 "start": {
7582 "column": 11, 7582 "column": 11,
7583 "line": 89 7583 "line": 91
7584 } 7584 }
7585 }, 7585 },
7586 { 7586 {
7587 "defaultMessage": "!!!Actual Size", 7587 "defaultMessage": "!!!Actual Size",
7588 "end": { 7588 "end": {
7589 "column": 3, 7589 "column": 3,
7590 "line": 96 7590 "line": 98
7591 }, 7591 },
7592 "file": "src/lib/Menu.js", 7592 "file": "src/lib/Menu.js",
7593 "id": "menu.view.resetZoom", 7593 "id": "menu.view.resetZoom",
7594 "start": { 7594 "start": {
7595 "column": 13, 7595 "column": 13,
7596 "line": 93 7596 "line": 95
7597 } 7597 }
7598 }, 7598 },
7599 { 7599 {
7600 "defaultMessage": "!!!Zoom In", 7600 "defaultMessage": "!!!Zoom In",
7601 "end": { 7601 "end": {
7602 "column": 3, 7602 "column": 3,
7603 "line": 100 7603 "line": 102
7604 }, 7604 },
7605 "file": "src/lib/Menu.js", 7605 "file": "src/lib/Menu.js",
7606 "id": "menu.view.zoomIn", 7606 "id": "menu.view.zoomIn",
7607 "start": { 7607 "start": {
7608 "column": 10, 7608 "column": 10,
7609 "line": 97 7609 "line": 99
7610 } 7610 }
7611 }, 7611 },
7612 { 7612 {
7613 "defaultMessage": "!!!Zoom Out", 7613 "defaultMessage": "!!!Zoom Out",
7614 "end": { 7614 "end": {
7615 "column": 3, 7615 "column": 3,
7616 "line": 104 7616 "line": 106
7617 }, 7617 },
7618 "file": "src/lib/Menu.js", 7618 "file": "src/lib/Menu.js",
7619 "id": "menu.view.zoomOut", 7619 "id": "menu.view.zoomOut",
7620 "start": { 7620 "start": {
7621 "column": 11, 7621 "column": 11,
7622 "line": 101 7622 "line": 103
7623 } 7623 }
7624 }, 7624 },
7625 { 7625 {
7626 "defaultMessage": "!!!Enter Full Screen", 7626 "defaultMessage": "!!!Enter Full Screen",
7627 "end": { 7627 "end": {
7628 "column": 3, 7628 "column": 3,
7629 "line": 108 7629 "line": 110
7630 }, 7630 },
7631 "file": "src/lib/Menu.js", 7631 "file": "src/lib/Menu.js",
7632 "id": "menu.view.enterFullScreen", 7632 "id": "menu.view.enterFullScreen",
7633 "start": { 7633 "start": {
7634 "column": 19, 7634 "column": 19,
7635 "line": 105 7635 "line": 107
7636 } 7636 }
7637 }, 7637 },
7638 { 7638 {
7639 "defaultMessage": "!!!Exit Full Screen", 7639 "defaultMessage": "!!!Exit Full Screen",
7640 "end": { 7640 "end": {
7641 "column": 3, 7641 "column": 3,
7642 "line": 112 7642 "line": 114
7643 }, 7643 },
7644 "file": "src/lib/Menu.js", 7644 "file": "src/lib/Menu.js",
7645 "id": "menu.view.exitFullScreen", 7645 "id": "menu.view.exitFullScreen",
7646 "start": { 7646 "start": {
7647 "column": 18, 7647 "column": 18,
7648 "line": 109 7648 "line": 111
7649 } 7649 }
7650 }, 7650 },
7651 { 7651 {
7652 "defaultMessage": "!!!Toggle Full Screen", 7652 "defaultMessage": "!!!Toggle Full Screen",
7653 "end": { 7653 "end": {
7654 "column": 3, 7654 "column": 3,
7655 "line": 116 7655 "line": 118
7656 }, 7656 },
7657 "file": "src/lib/Menu.js", 7657 "file": "src/lib/Menu.js",
7658 "id": "menu.view.toggleFullScreen", 7658 "id": "menu.view.toggleFullScreen",
7659 "start": { 7659 "start": {
7660 "column": 20, 7660 "column": 20,
7661 "line": 113 7661 "line": 115
7662 } 7662 }
7663 }, 7663 },
7664 { 7664 {
7665 "defaultMessage": "!!!Toggle Dark Mode", 7665 "defaultMessage": "!!!Toggle Dark Mode",
7666 "end": { 7666 "end": {
7667 "column": 3, 7667 "column": 3,
7668 "line": 120 7668 "line": 122
7669 }, 7669 },
7670 "file": "src/lib/Menu.js", 7670 "file": "src/lib/Menu.js",
7671 "id": "menu.view.toggleDarkMode", 7671 "id": "menu.view.toggleDarkMode",
7672 "start": { 7672 "start": {
7673 "column": 18, 7673 "column": 18,
7674 "line": 117 7674 "line": 119
7675 } 7675 }
7676 }, 7676 },
7677 { 7677 {
7678 "defaultMessage": "!!!Toggle Developer Tools", 7678 "defaultMessage": "!!!Toggle Developer Tools",
7679 "end": { 7679 "end": {
7680 "column": 3, 7680 "column": 3,
7681 "line": 124 7681 "line": 126
7682 }, 7682 },
7683 "file": "src/lib/Menu.js", 7683 "file": "src/lib/Menu.js",
7684 "id": "menu.view.toggleDevTools", 7684 "id": "menu.view.toggleDevTools",
7685 "start": { 7685 "start": {
7686 "column": 18, 7686 "column": 18,
7687 "line": 121 7687 "line": 123
7688 } 7688 }
7689 }, 7689 },
7690 { 7690 {
7691 "defaultMessage": "!!!Toggle Todos Developer Tools", 7691 "defaultMessage": "!!!Toggle Todos Developer Tools",
7692 "end": { 7692 "end": {
7693 "column": 3, 7693 "column": 3,
7694 "line": 128 7694 "line": 130
7695 }, 7695 },
7696 "file": "src/lib/Menu.js", 7696 "file": "src/lib/Menu.js",
7697 "id": "menu.view.toggleTodosDevTools", 7697 "id": "menu.view.toggleTodosDevTools",
7698 "start": { 7698 "start": {
7699 "column": 23, 7699 "column": 23,
7700 "line": 125 7700 "line": 127
7701 } 7701 }
7702 }, 7702 },
7703 { 7703 {
7704 "defaultMessage": "!!!Toggle Service Developer Tools", 7704 "defaultMessage": "!!!Toggle Service Developer Tools",
7705 "end": { 7705 "end": {
7706 "column": 3, 7706 "column": 3,
7707 "line": 132 7707 "line": 134
7708 }, 7708 },
7709 "file": "src/lib/Menu.js", 7709 "file": "src/lib/Menu.js",
7710 "id": "menu.view.toggleServiceDevTools", 7710 "id": "menu.view.toggleServiceDevTools",
7711 "start": { 7711 "start": {
7712 "column": 25, 7712 "column": 25,
7713 "line": 129 7713 "line": 131
7714 } 7714 }
7715 }, 7715 },
7716 { 7716 {
7717 "defaultMessage": "!!!Reload Service", 7717 "defaultMessage": "!!!Reload Service",
7718 "end": { 7718 "end": {
7719 "column": 3, 7719 "column": 3,
7720 "line": 136 7720 "line": 138
7721 }, 7721 },
7722 "file": "src/lib/Menu.js", 7722 "file": "src/lib/Menu.js",
7723 "id": "menu.view.reloadService", 7723 "id": "menu.view.reloadService",
7724 "start": { 7724 "start": {
7725 "column": 17, 7725 "column": 17,
7726 "line": 133 7726 "line": 135
7727 } 7727 }
7728 }, 7728 },
7729 { 7729 {
7730 "defaultMessage": "!!!Reload Ferdi", 7730 "defaultMessage": "!!!Reload Ferdi",
7731 "end": { 7731 "end": {
7732 "column": 3, 7732 "column": 3,
7733 "line": 140 7733 "line": 142
7734 }, 7734 },
7735 "file": "src/lib/Menu.js", 7735 "file": "src/lib/Menu.js",
7736 "id": "menu.view.reloadFranz", 7736 "id": "menu.view.reloadFranz",
7737 "start": { 7737 "start": {
7738 "column": 15, 7738 "column": 15,
7739 "line": 137 7739 "line": 139
7740 } 7740 }
7741 }, 7741 },
7742 { 7742 {
7743 "defaultMessage": "!!!Lock Ferdi", 7743 "defaultMessage": "!!!Lock Ferdi",
7744 "end": { 7744 "end": {
7745 "column": 3, 7745 "column": 3,
7746 "line": 144 7746 "line": 146
7747 }, 7747 },
7748 "file": "src/lib/Menu.js", 7748 "file": "src/lib/Menu.js",
7749 "id": "menu.view.lockFerdi", 7749 "id": "menu.view.lockFerdi",
7750 "start": { 7750 "start": {
7751 "column": 13, 7751 "column": 13,
7752 "line": 141 7752 "line": 143
7753 } 7753 }
7754 }, 7754 },
7755 { 7755 {
7756 "defaultMessage": "!!!Reload ToDos", 7756 "defaultMessage": "!!!Reload ToDos",
7757 "end": { 7757 "end": {
7758 "column": 3, 7758 "column": 3,
7759 "line": 148 7759 "line": 150
7760 }, 7760 },
7761 "file": "src/lib/Menu.js", 7761 "file": "src/lib/Menu.js",
7762 "id": "menu.view.reloadTodos", 7762 "id": "menu.view.reloadTodos",
7763 "start": { 7763 "start": {
7764 "column": 15, 7764 "column": 15,
7765 "line": 145 7765 "line": 147
7766 } 7766 }
7767 }, 7767 },
7768 { 7768 {
7769 "defaultMessage": "!!!Minimize", 7769 "defaultMessage": "!!!Minimize",
7770 "end": { 7770 "end": {
7771 "column": 3, 7771 "column": 3,
7772 "line": 152 7772 "line": 154
7773 }, 7773 },
7774 "file": "src/lib/Menu.js", 7774 "file": "src/lib/Menu.js",
7775 "id": "menu.window.minimize", 7775 "id": "menu.window.minimize",
7776 "start": { 7776 "start": {
7777 "column": 12, 7777 "column": 12,
7778 "line": 149 7778 "line": 151
7779 } 7779 }
7780 }, 7780 },
7781 { 7781 {
7782 "defaultMessage": "!!!Close", 7782 "defaultMessage": "!!!Close",
7783 "end": { 7783 "end": {
7784 "column": 3, 7784 "column": 3,
7785 "line": 156 7785 "line": 158
7786 }, 7786 },
7787 "file": "src/lib/Menu.js", 7787 "file": "src/lib/Menu.js",
7788 "id": "menu.window.close", 7788 "id": "menu.window.close",
7789 "start": { 7789 "start": {
7790 "column": 9, 7790 "column": 9,
7791 "line": 153 7791 "line": 155
7792 } 7792 }
7793 }, 7793 },
7794 { 7794 {
7795 "defaultMessage": "!!!Learn More", 7795 "defaultMessage": "!!!Learn More",
7796 "end": { 7796 "end": {
7797 "column": 3, 7797 "column": 3,
7798 "line": 160 7798 "line": 162
7799 }, 7799 },
7800 "file": "src/lib/Menu.js", 7800 "file": "src/lib/Menu.js",
7801 "id": "menu.help.learnMore", 7801 "id": "menu.help.learnMore",
7802 "start": { 7802 "start": {
7803 "column": 13, 7803 "column": 13,
7804 "line": 157 7804 "line": 159
7805 } 7805 }
7806 }, 7806 },
7807 { 7807 {
7808 "defaultMessage": "!!!Changelog", 7808 "defaultMessage": "!!!Changelog",
7809 "end": { 7809 "end": {
7810 "column": 3, 7810 "column": 3,
7811 "line": 164 7811 "line": 166
7812 }, 7812 },
7813 "file": "src/lib/Menu.js", 7813 "file": "src/lib/Menu.js",
7814 "id": "menu.help.changelog", 7814 "id": "menu.help.changelog",
7815 "start": { 7815 "start": {
7816 "column": 13, 7816 "column": 13,
7817 "line": 161 7817 "line": 163
7818 } 7818 }
7819 }, 7819 },
7820 { 7820 {
7821 "defaultMessage": "!!!Support", 7821 "defaultMessage": "!!!Support",
7822 "end": { 7822 "end": {
7823 "column": 3, 7823 "column": 3,
7824 "line": 168 7824 "line": 170
7825 }, 7825 },
7826 "file": "src/lib/Menu.js", 7826 "file": "src/lib/Menu.js",
7827 "id": "menu.help.support", 7827 "id": "menu.help.support",
7828 "start": { 7828 "start": {
7829 "column": 11, 7829 "column": 11,
7830 "line": 165 7830 "line": 167
7831 } 7831 }
7832 }, 7832 },
7833 { 7833 {
7834 "defaultMessage": "!!!Copy Debug Information", 7834 "defaultMessage": "!!!Copy Debug Information",
7835 "end": { 7835 "end": {
7836 "column": 3, 7836 "column": 3,
7837 "line": 172 7837 "line": 174
7838 }, 7838 },
7839 "file": "src/lib/Menu.js", 7839 "file": "src/lib/Menu.js",
7840 "id": "menu.help.debugInfo", 7840 "id": "menu.help.debugInfo",
7841 "start": { 7841 "start": {
7842 "column": 13, 7842 "column": 13,
7843 "line": 169 7843 "line": 171
7844 } 7844 }
7845 }, 7845 },
7846 { 7846 {
7847 "defaultMessage": "!!!Publish Debug Information", 7847 "defaultMessage": "!!!Publish Debug Information",
7848 "end": { 7848 "end": {
7849 "column": 3, 7849 "column": 3,
7850 "line": 176 7850 "line": 178
7851 }, 7851 },
7852 "file": "src/lib/Menu.js", 7852 "file": "src/lib/Menu.js",
7853 "id": "menu.help.publishDebugInfo", 7853 "id": "menu.help.publishDebugInfo",
7854 "start": { 7854 "start": {
7855 "column": 20, 7855 "column": 20,
7856 "line": 173 7856 "line": 175
7857 } 7857 }
7858 }, 7858 },
7859 { 7859 {
7860 "defaultMessage": "!!!Ferdi Debug Information", 7860 "defaultMessage": "!!!Ferdi Debug Information",
7861 "end": { 7861 "end": {
7862 "column": 3, 7862 "column": 3,
7863 "line": 180 7863 "line": 182
7864 }, 7864 },
7865 "file": "src/lib/Menu.js", 7865 "file": "src/lib/Menu.js",
7866 "id": "menu.help.debugInfoCopiedHeadline", 7866 "id": "menu.help.debugInfoCopiedHeadline",
7867 "start": { 7867 "start": {
7868 "column": 27, 7868 "column": 27,
7869 "line": 177 7869 "line": 179
7870 } 7870 }
7871 }, 7871 },
7872 { 7872 {
7873 "defaultMessage": "!!!Your Debug Information has been copied to your clipboard.", 7873 "defaultMessage": "!!!Your Debug Information has been copied to your clipboard.",
7874 "end": { 7874 "end": {
7875 "column": 3, 7875 "column": 3,
7876 "line": 184 7876 "line": 186
7877 }, 7877 },
7878 "file": "src/lib/Menu.js", 7878 "file": "src/lib/Menu.js",
7879 "id": "menu.help.debugInfoCopiedBody", 7879 "id": "menu.help.debugInfoCopiedBody",
7880 "start": { 7880 "start": {
7881 "column": 23, 7881 "column": 23,
7882 "line": 181 7882 "line": 183
7883 } 7883 }
7884 }, 7884 },
7885 { 7885 {
7886 "defaultMessage": "!!!Unlock with Touch ID", 7886 "defaultMessage": "!!!Unlock with Touch ID",
7887 "end": { 7887 "end": {
7888 "column": 3, 7888 "column": 3,
7889 "line": 188 7889 "line": 190
7890 }, 7890 },
7891 "file": "src/lib/Menu.js", 7891 "file": "src/lib/Menu.js",
7892 "id": "locked.touchId", 7892 "id": "locked.touchId",
7893 "start": { 7893 "start": {
7894 "column": 11, 7894 "column": 11,
7895 "line": 185 7895 "line": 187
7896 } 7896 }
7897 }, 7897 },
7898 { 7898 {
7899 "defaultMessage": "!!!unlock via Touch ID", 7899 "defaultMessage": "!!!unlock via Touch ID",
7900 "end": { 7900 "end": {
7901 "column": 3, 7901 "column": 3,
7902 "line": 192 7902 "line": 194
7903 }, 7903 },
7904 "file": "src/lib/Menu.js", 7904 "file": "src/lib/Menu.js",
7905 "id": "locked.touchIdPrompt", 7905 "id": "locked.touchIdPrompt",
7906 "start": { 7906 "start": {
7907 "column": 17, 7907 "column": 17,
7908 "line": 189 7908 "line": 191
7909 } 7909 }
7910 }, 7910 },
7911 { 7911 {
7912 "defaultMessage": "!!!Terms of Service", 7912 "defaultMessage": "!!!Terms of Service",
7913 "end": { 7913 "end": {
7914 "column": 3, 7914 "column": 3,
7915 "line": 196 7915 "line": 198
7916 }, 7916 },
7917 "file": "src/lib/Menu.js", 7917 "file": "src/lib/Menu.js",
7918 "id": "menu.help.tos", 7918 "id": "menu.help.tos",
7919 "start": { 7919 "start": {
7920 "column": 7, 7920 "column": 7,
7921 "line": 193 7921 "line": 195
7922 } 7922 }
7923 }, 7923 },
7924 { 7924 {
7925 "defaultMessage": "!!!Privacy Statement", 7925 "defaultMessage": "!!!Privacy Statement",
7926 "end": { 7926 "end": {
7927 "column": 3, 7927 "column": 3,
7928 "line": 200 7928 "line": 202
7929 }, 7929 },
7930 "file": "src/lib/Menu.js", 7930 "file": "src/lib/Menu.js",
7931 "id": "menu.help.privacy", 7931 "id": "menu.help.privacy",
7932 "start": { 7932 "start": {
7933 "column": 11, 7933 "column": 11,
7934 "line": 197 7934 "line": 199
7935 } 7935 }
7936 }, 7936 },
7937 { 7937 {
7938 "defaultMessage": "!!!File", 7938 "defaultMessage": "!!!File",
7939 "end": { 7939 "end": {
7940 "column": 3, 7940 "column": 3,
7941 "line": 204 7941 "line": 206
7942 }, 7942 },
7943 "file": "src/lib/Menu.js", 7943 "file": "src/lib/Menu.js",
7944 "id": "menu.file", 7944 "id": "menu.file",
7945 "start": { 7945 "start": {
7946 "column": 8, 7946 "column": 8,
7947 "line": 201 7947 "line": 203
7948 } 7948 }
7949 }, 7949 },
7950 { 7950 {
7951 "defaultMessage": "!!!View", 7951 "defaultMessage": "!!!View",
7952 "end": { 7952 "end": {
7953 "column": 3, 7953 "column": 3,
7954 "line": 208 7954 "line": 210
7955 }, 7955 },
7956 "file": "src/lib/Menu.js", 7956 "file": "src/lib/Menu.js",
7957 "id": "menu.view", 7957 "id": "menu.view",
7958 "start": { 7958 "start": {
7959 "column": 8, 7959 "column": 8,
7960 "line": 205 7960 "line": 207
7961 } 7961 }
7962 }, 7962 },
7963 { 7963 {
7964 "defaultMessage": "!!!Services", 7964 "defaultMessage": "!!!Services",
7965 "end": { 7965 "end": {
7966 "column": 3, 7966 "column": 3,
7967 "line": 212 7967 "line": 214
7968 }, 7968 },
7969 "file": "src/lib/Menu.js", 7969 "file": "src/lib/Menu.js",
7970 "id": "menu.services", 7970 "id": "menu.services",
7971 "start": { 7971 "start": {
7972 "column": 12, 7972 "column": 12,
7973 "line": 209 7973 "line": 211
7974 } 7974 }
7975 }, 7975 },
7976 { 7976 {
7977 "defaultMessage": "!!!Window", 7977 "defaultMessage": "!!!Window",
7978 "end": { 7978 "end": {
7979 "column": 3, 7979 "column": 3,
7980 "line": 216 7980 "line": 218
7981 }, 7981 },
7982 "file": "src/lib/Menu.js", 7982 "file": "src/lib/Menu.js",
7983 "id": "menu.window", 7983 "id": "menu.window",
7984 "start": { 7984 "start": {
7985 "column": 10, 7985 "column": 10,
7986 "line": 213 7986 "line": 215
7987 } 7987 }
7988 }, 7988 },
7989 { 7989 {
7990 "defaultMessage": "!!!Help", 7990 "defaultMessage": "!!!Help",
7991 "end": { 7991 "end": {
7992 "column": 3, 7992 "column": 3,
7993 "line": 220 7993 "line": 222
7994 }, 7994 },
7995 "file": "src/lib/Menu.js", 7995 "file": "src/lib/Menu.js",
7996 "id": "menu.help", 7996 "id": "menu.help",
7997 "start": { 7997 "start": {
7998 "column": 8, 7998 "column": 8,
7999 "line": 217 7999 "line": 219
8000 } 8000 }
8001 }, 8001 },
8002 { 8002 {
8003 "defaultMessage": "!!!About Ferdi", 8003 "defaultMessage": "!!!About Ferdi",
8004 "end": { 8004 "end": {
8005 "column": 3, 8005 "column": 3,
8006 "line": 224 8006 "line": 226
8007 }, 8007 },
8008 "file": "src/lib/Menu.js", 8008 "file": "src/lib/Menu.js",
8009 "id": "menu.app.about", 8009 "id": "menu.app.about",
8010 "start": { 8010 "start": {
8011 "column": 9, 8011 "column": 9,
8012 "line": 221 8012 "line": 223
8013 } 8013 }
8014 }, 8014 },
8015 { 8015 {
8016 "defaultMessage": "!!!What's new?", 8016 "defaultMessage": "!!!What's new?",
8017 "end": { 8017 "end": {
8018 "column": 3, 8018 "column": 3,
8019 "line": 228 8019 "line": 230
8020 }, 8020 },
8021 "file": "src/lib/Menu.js", 8021 "file": "src/lib/Menu.js",
8022 "id": "menu.app.announcement", 8022 "id": "menu.app.announcement",
8023 "start": { 8023 "start": {
8024 "column": 16, 8024 "column": 16,
8025 "line": 225 8025 "line": 227
8026 } 8026 }
8027 }, 8027 },
8028 { 8028 {
8029 "defaultMessage": "!!!Settings", 8029 "defaultMessage": "!!!Settings",
8030 "end": { 8030 "end": {
8031 "column": 3, 8031 "column": 3,
8032 "line": 232 8032 "line": 234
8033 }, 8033 },
8034 "file": "src/lib/Menu.js", 8034 "file": "src/lib/Menu.js",
8035 "id": "menu.app.settings", 8035 "id": "menu.app.settings",
8036 "start": { 8036 "start": {
8037 "column": 12, 8037 "column": 12,
8038 "line": 229 8038 "line": 231
8039 } 8039 }
8040 }, 8040 },
8041 { 8041 {
8042 "defaultMessage": "!!!Check for updates", 8042 "defaultMessage": "!!!Check for updates",
8043 "end": { 8043 "end": {
8044 "column": 3, 8044 "column": 3,
8045 "line": 236 8045 "line": 238
8046 }, 8046 },
8047 "file": "src/lib/Menu.js", 8047 "file": "src/lib/Menu.js",
8048 "id": "menu.app.checkForUpdates", 8048 "id": "menu.app.checkForUpdates",
8049 "start": { 8049 "start": {
8050 "column": 19, 8050 "column": 19,
8051 "line": 233 8051 "line": 235
8052 } 8052 }
8053 }, 8053 },
8054 { 8054 {
8055 "defaultMessage": "!!!Hide", 8055 "defaultMessage": "!!!Hide",
8056 "end": { 8056 "end": {
8057 "column": 3, 8057 "column": 3,
8058 "line": 240 8058 "line": 242
8059 }, 8059 },
8060 "file": "src/lib/Menu.js", 8060 "file": "src/lib/Menu.js",
8061 "id": "menu.app.hide", 8061 "id": "menu.app.hide",
8062 "start": { 8062 "start": {
8063 "column": 8, 8063 "column": 8,
8064 "line": 237 8064 "line": 239
8065 } 8065 }
8066 }, 8066 },
8067 { 8067 {
8068 "defaultMessage": "!!!Hide Others", 8068 "defaultMessage": "!!!Hide Others",
8069 "end": { 8069 "end": {
8070 "column": 3, 8070 "column": 3,
8071 "line": 244 8071 "line": 246
8072 }, 8072 },
8073 "file": "src/lib/Menu.js", 8073 "file": "src/lib/Menu.js",
8074 "id": "menu.app.hideOthers", 8074 "id": "menu.app.hideOthers",
8075 "start": { 8075 "start": {
8076 "column": 14, 8076 "column": 14,
8077 "line": 241 8077 "line": 243
8078 } 8078 }
8079 }, 8079 },
8080 { 8080 {
8081 "defaultMessage": "!!!Unhide", 8081 "defaultMessage": "!!!Unhide",
8082 "end": { 8082 "end": {
8083 "column": 3, 8083 "column": 3,
8084 "line": 248 8084 "line": 250
8085 }, 8085 },
8086 "file": "src/lib/Menu.js", 8086 "file": "src/lib/Menu.js",
8087 "id": "menu.app.unhide", 8087 "id": "menu.app.unhide",
8088 "start": { 8088 "start": {
8089 "column": 10, 8089 "column": 10,
8090 "line": 245 8090 "line": 247
8091 } 8091 }
8092 }, 8092 },
8093 { 8093 {
8094 "defaultMessage": "!!!Auto-hide menu bar", 8094 "defaultMessage": "!!!Auto-hide menu bar",
8095 "end": { 8095 "end": {
8096 "column": 3, 8096 "column": 3,
8097 "line": 252 8097 "line": 254
8098 }, 8098 },
8099 "file": "src/lib/Menu.js", 8099 "file": "src/lib/Menu.js",
8100 "id": "menu.app.autohideMenuBar", 8100 "id": "menu.app.autohideMenuBar",
8101 "start": { 8101 "start": {
8102 "column": 19, 8102 "column": 19,
8103 "line": 249 8103 "line": 251
8104 } 8104 }
8105 }, 8105 },
8106 { 8106 {
8107 "defaultMessage": "!!!Quit", 8107 "defaultMessage": "!!!Quit",
8108 "end": { 8108 "end": {
8109 "column": 3, 8109 "column": 3,
8110 "line": 256 8110 "line": 258
8111 }, 8111 },
8112 "file": "src/lib/Menu.js", 8112 "file": "src/lib/Menu.js",
8113 "id": "menu.app.quit", 8113 "id": "menu.app.quit",
8114 "start": { 8114 "start": {
8115 "column": 8, 8115 "column": 8,
8116 "line": 253 8116 "line": 255
8117 } 8117 }
8118 }, 8118 },
8119 { 8119 {
8120 "defaultMessage": "!!!Add New Service...", 8120 "defaultMessage": "!!!Add New Service...",
8121 "end": { 8121 "end": {
8122 "column": 3, 8122 "column": 3,
8123 "line": 260 8123 "line": 262
8124 }, 8124 },
8125 "file": "src/lib/Menu.js", 8125 "file": "src/lib/Menu.js",
8126 "id": "menu.services.addNewService", 8126 "id": "menu.services.addNewService",
8127 "start": { 8127 "start": {
8128 "column": 17, 8128 "column": 17,
8129 "line": 257 8129 "line": 259
8130 } 8130 }
8131 }, 8131 },
8132 { 8132 {
8133 "defaultMessage": "!!!Add New Workspace...", 8133 "defaultMessage": "!!!Add New Workspace...",
8134 "end": { 8134 "end": {
8135 "column": 3, 8135 "column": 3,
8136 "line": 264 8136 "line": 266
8137 }, 8137 },
8138 "file": "src/lib/Menu.js", 8138 "file": "src/lib/Menu.js",
8139 "id": "menu.workspaces.addNewWorkspace", 8139 "id": "menu.workspaces.addNewWorkspace",
8140 "start": { 8140 "start": {
8141 "column": 19, 8141 "column": 19,
8142 "line": 261 8142 "line": 263
8143 } 8143 }
8144 }, 8144 },
8145 { 8145 {
8146 "defaultMessage": "!!!Open workspace drawer", 8146 "defaultMessage": "!!!Open workspace drawer",
8147 "end": { 8147 "end": {
8148 "column": 3, 8148 "column": 3,
8149 "line": 268 8149 "line": 270
8150 }, 8150 },
8151 "file": "src/lib/Menu.js", 8151 "file": "src/lib/Menu.js",
8152 "id": "menu.workspaces.openWorkspaceDrawer", 8152 "id": "menu.workspaces.openWorkspaceDrawer",
8153 "start": { 8153 "start": {
8154 "column": 23, 8154 "column": 23,
8155 "line": 265 8155 "line": 267
8156 } 8156 }
8157 }, 8157 },
8158 { 8158 {
8159 "defaultMessage": "!!!Close workspace drawer", 8159 "defaultMessage": "!!!Close workspace drawer",
8160 "end": { 8160 "end": {
8161 "column": 3, 8161 "column": 3,
8162 "line": 272 8162 "line": 274
8163 }, 8163 },
8164 "file": "src/lib/Menu.js", 8164 "file": "src/lib/Menu.js",
8165 "id": "menu.workspaces.closeWorkspaceDrawer", 8165 "id": "menu.workspaces.closeWorkspaceDrawer",
8166 "start": { 8166 "start": {
8167 "column": 24, 8167 "column": 24,
8168 "line": 269 8168 "line": 271
8169 } 8169 }
8170 }, 8170 },
8171 { 8171 {
8172 "defaultMessage": "!!!Activate next service...", 8172 "defaultMessage": "!!!Activate next service...",
8173 "end": { 8173 "end": {
8174 "column": 3, 8174 "column": 3,
8175 "line": 276 8175 "line": 278
8176 }, 8176 },
8177 "file": "src/lib/Menu.js", 8177 "file": "src/lib/Menu.js",
8178 "id": "menu.services.setNextServiceActive", 8178 "id": "menu.services.setNextServiceActive",
8179 "start": { 8179 "start": {
8180 "column": 23, 8180 "column": 23,
8181 "line": 273 8181 "line": 275
8182 } 8182 }
8183 }, 8183 },
8184 { 8184 {
8185 "defaultMessage": "!!!Activate previous service...", 8185 "defaultMessage": "!!!Activate previous service...",
8186 "end": { 8186 "end": {
8187 "column": 3, 8187 "column": 3,
8188 "line": 280 8188 "line": 282
8189 }, 8189 },
8190 "file": "src/lib/Menu.js", 8190 "file": "src/lib/Menu.js",
8191 "id": "menu.services.activatePreviousService", 8191 "id": "menu.services.activatePreviousService",
8192 "start": { 8192 "start": {
8193 "column": 27, 8193 "column": 27,
8194 "line": 277 8194 "line": 279
8195 } 8195 }
8196 }, 8196 },
8197 { 8197 {
8198 "defaultMessage": "!!!Disable notifications & audio", 8198 "defaultMessage": "!!!Disable notifications & audio",
8199 "end": { 8199 "end": {
8200 "column": 3, 8200 "column": 3,
8201 "line": 284 8201 "line": 286
8202 }, 8202 },
8203 "file": "src/lib/Menu.js", 8203 "file": "src/lib/Menu.js",
8204 "id": "sidebar.muteApp", 8204 "id": "sidebar.muteApp",
8205 "start": { 8205 "start": {
8206 "column": 11, 8206 "column": 11,
8207 "line": 281 8207 "line": 283
8208 } 8208 }
8209 }, 8209 },
8210 { 8210 {
8211 "defaultMessage": "!!!Enable notifications & audio", 8211 "defaultMessage": "!!!Enable notifications & audio",
8212 "end": { 8212 "end": {
8213 "column": 3, 8213 "column": 3,
8214 "line": 288 8214 "line": 290
8215 }, 8215 },
8216 "file": "src/lib/Menu.js", 8216 "file": "src/lib/Menu.js",
8217 "id": "sidebar.unmuteApp", 8217 "id": "sidebar.unmuteApp",
8218 "start": { 8218 "start": {
8219 "column": 13, 8219 "column": 13,
8220 "line": 285 8220 "line": 287
8221 } 8221 }
8222 }, 8222 },
8223 { 8223 {
8224 "defaultMessage": "!!!Workspaces", 8224 "defaultMessage": "!!!Workspaces",
8225 "end": { 8225 "end": {
8226 "column": 3, 8226 "column": 3,
8227 "line": 292 8227 "line": 294
8228 }, 8228 },
8229 "file": "src/lib/Menu.js", 8229 "file": "src/lib/Menu.js",
8230 "id": "menu.workspaces", 8230 "id": "menu.workspaces",
8231 "start": { 8231 "start": {
8232 "column": 14, 8232 "column": 14,
8233 "line": 289 8233 "line": 291
8234 } 8234 }
8235 }, 8235 },
8236 { 8236 {
8237 "defaultMessage": "!!!Default", 8237 "defaultMessage": "!!!Default",
8238 "end": { 8238 "end": {
8239 "column": 3, 8239 "column": 3,
8240 "line": 296 8240 "line": 298
8241 }, 8241 },
8242 "file": "src/lib/Menu.js", 8242 "file": "src/lib/Menu.js",
8243 "id": "menu.workspaces.defaultWorkspace", 8243 "id": "menu.workspaces.defaultWorkspace",
8244 "start": { 8244 "start": {
8245 "column": 20, 8245 "column": 20,
8246 "line": 293 8246 "line": 295
8247 } 8247 }
8248 }, 8248 },
8249 { 8249 {
8250 "defaultMessage": "!!!Todos", 8250 "defaultMessage": "!!!Todos",
8251 "end": { 8251 "end": {
8252 "column": 3, 8252 "column": 3,
8253 "line": 300 8253 "line": 302
8254 }, 8254 },
8255 "file": "src/lib/Menu.js", 8255 "file": "src/lib/Menu.js",
8256 "id": "menu.todos", 8256 "id": "menu.todos",
8257 "start": { 8257 "start": {
8258 "column": 9, 8258 "column": 9,
8259 "line": 297 8259 "line": 299
8260 } 8260 }
8261 }, 8261 },
8262 { 8262 {
8263 "defaultMessage": "!!!Open Todos drawer", 8263 "defaultMessage": "!!!Open Todos drawer",
8264 "end": { 8264 "end": {
8265 "column": 3, 8265 "column": 3,
8266 "line": 304 8266 "line": 306
8267 }, 8267 },
8268 "file": "src/lib/Menu.js", 8268 "file": "src/lib/Menu.js",
8269 "id": "menu.Todoss.openTodosDrawer", 8269 "id": "menu.Todoss.openTodosDrawer",
8270 "start": { 8270 "start": {
8271 "column": 19, 8271 "column": 19,
8272 "line": 301 8272 "line": 303
8273 } 8273 }
8274 }, 8274 },
8275 { 8275 {
8276 "defaultMessage": "!!!Close Todos drawer", 8276 "defaultMessage": "!!!Close Todos drawer",
8277 "end": { 8277 "end": {
8278 "column": 3, 8278 "column": 3,
8279 "line": 308 8279 "line": 310
8280 }, 8280 },
8281 "file": "src/lib/Menu.js", 8281 "file": "src/lib/Menu.js",
8282 "id": "menu.Todoss.closeTodosDrawer", 8282 "id": "menu.Todoss.closeTodosDrawer",
8283 "start": { 8283 "start": {
8284 "column": 20, 8284 "column": 20,
8285 "line": 305 8285 "line": 307
8286 } 8286 }
8287 }, 8287 },
8288 { 8288 {
8289 "defaultMessage": "!!!Enable Todos", 8289 "defaultMessage": "!!!Enable Todos",
8290 "end": { 8290 "end": {
8291 "column": 3, 8291 "column": 3,
8292 "line": 312 8292 "line": 314
8293 }, 8293 },
8294 "file": "src/lib/Menu.js", 8294 "file": "src/lib/Menu.js",
8295 "id": "menu.todos.enableTodos", 8295 "id": "menu.todos.enableTodos",
8296 "start": { 8296 "start": {
8297 "column": 15, 8297 "column": 15,
8298 "line": 309 8298 "line": 311
8299 } 8299 }
8300 }, 8300 },
8301 { 8301 {
8302 "defaultMessage": "!!!Home", 8302 "defaultMessage": "!!!Home",
8303 "end": { 8303 "end": {
8304 "column": 3, 8304 "column": 3,
8305 "line": 316 8305 "line": 318
8306 }, 8306 },
8307 "file": "src/lib/Menu.js", 8307 "file": "src/lib/Menu.js",
8308 "id": "menu.services.goHome", 8308 "id": "menu.services.goHome",
8309 "start": { 8309 "start": {
8310 "column": 17, 8310 "column": 17,
8311 "line": 313 8311 "line": 315
8312 } 8312 }
8313 } 8313 }
8314 ], 8314 ],
diff --git a/src/index.js b/src/index.js
index ab4187e6..2586d779 100644
--- a/src/index.js
+++ b/src/index.js
@@ -22,6 +22,7 @@ import {
22} from './config'; 22} from './config';
23 23
24import { 24import {
25 isDevMode,
25 isMac, 26 isMac,
26 isWindows, 27 isWindows,
27 isLinux, 28 isLinux,
@@ -40,7 +41,6 @@ if (process.env.FERDI_APPDATA_DIR != null) {
40 app.setPath('userData', path.join(app.getPath('appData'), app.name)); 41 app.setPath('userData', path.join(app.getPath('appData'), app.name));
41} 42}
42 43
43const isDevMode = !app.isPackaged;
44if (isDevMode) { 44if (isDevMode) {
45 app.setPath('userData', path.join(app.getPath('appData'), `${app.name}Dev`)); 45 app.setPath('userData', path.join(app.getPath('appData'), `${app.name}Dev`));
46} 46}