diff options
Diffstat (limited to 'src/config.js')
-rw-r--r-- | src/config.js | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/src/config.js b/src/config.js index 77fa92eca..08dbb85f3 100644 --- a/src/config.js +++ b/src/config.js | |||
@@ -7,7 +7,7 @@ export const CHECK_INTERVAL = 1000 * 3600; // How often should we perform checks | |||
7 | export const LOCAL_API = 'http://localhost:3000'; | 7 | export const LOCAL_API = 'http://localhost:3000'; |
8 | export const DEV_API = 'https://dev.franzinfra.com'; | 8 | export const DEV_API = 'https://dev.franzinfra.com'; |
9 | export const LIVE_API = 'https://api.franzinfra.com'; | 9 | export const LIVE_API = 'https://api.franzinfra.com'; |
10 | export const GA_ID = 'UA-74126766-6'; | 10 | export const GA_ID = 'UA-74126766-10'; |
11 | 11 | ||
12 | export const DEFAULT_APP_SETTINGS = { | 12 | export const DEFAULT_APP_SETTINGS = { |
13 | autoLaunchInBackground: false, | 13 | autoLaunchInBackground: false, |
@@ -17,14 +17,35 @@ export const DEFAULT_APP_SETTINGS = { | |||
17 | showDisabledServices: true, | 17 | showDisabledServices: true, |
18 | showMessageBadgeWhenMuted: true, | 18 | showMessageBadgeWhenMuted: true, |
19 | enableSpellchecking: true, | 19 | enableSpellchecking: true, |
20 | spellcheckerLanguage: 'en-us', | ||
21 | darkMode: false, | ||
20 | locale: '', | 22 | locale: '', |
21 | fallbackLocale: 'en-US', | 23 | fallbackLocale: 'en-US', |
22 | beta: false, | 24 | beta: false, |
23 | isAppMuted: false, | 25 | isAppMuted: false, |
24 | enableGPUAcceleration: true, | 26 | enableGPUAcceleration: true, |
27 | serviceLimit: 5, | ||
25 | }; | 28 | }; |
26 | 29 | ||
27 | export const FRANZ_SERVICE_REQUEST = 'http://bit.ly/franz-service-request'; | 30 | export const DEFAULT_FEATURES_CONFIG = { |
28 | export const FRANZ_TRANSLATION = 'http://bit.ly/franz-translate'; | 31 | isSpellcheckerPremiumFeature: false, |
32 | needToWaitToProceed: false, | ||
33 | needToWaitToProceedConfig: { | ||
34 | delayOffset: 3600000, | ||
35 | wait: 10000, | ||
36 | }, | ||
37 | isServiceProxyEnabled: false, | ||
38 | isServiceProxyPremiumFeature: true, | ||
39 | }; | ||
40 | |||
41 | export const FRANZ_SERVICE_REQUEST = 'hhttp://bit.ly/franz-plugin-docs'; | ||
42 | export const FRANZ_TRANSLATION = 'https://bit.ly/franz-translate'; | ||
43 | |||
44 | export const FILE_SYSTEM_SETTINGS_TYPES = [ | ||
45 | 'app', | ||
46 | 'proxy', | ||
47 | ]; | ||
48 | |||
49 | export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config'); | ||
29 | 50 | ||
30 | export const SETTINGS_PATH = path.join(app.getPath('userData'), 'config', 'settings.json'); | 51 | export const DICTIONARY_PATH = path.join(app.getPath('userData'), 'dicts'); |