mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
SDA-2215: add macOS check for setting system preferences
This commit is contained in:
parent
9e50ffa472
commit
07f77f4bb3
@ -17,7 +17,9 @@ import { ICustomBrowserWindow, windowHandler } from './window-handler';
|
||||
|
||||
// Set automatic period substitution to false because of a bug in draft js on the client app
|
||||
// See https://perzoinc.atlassian.net/browse/SDA-2215 for more details
|
||||
systemPreferences.setUserDefault('NSAutomaticPeriodSubstitutionEnabled', 'string', 'false');
|
||||
if (isMac) {
|
||||
systemPreferences.setUserDefault('NSAutomaticPeriodSubstitutionEnabled', 'string', 'false');
|
||||
}
|
||||
|
||||
logger.info(`App started with the args ${JSON.stringify(process.argv)}`);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user