mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-28 09:51:06 -06:00
Electron 456 (#363)
- change memory refresh text - fix regression on user data path arg
This commit is contained in:
parent
0a66fc90f2
commit
d60c1cc374
@ -232,7 +232,7 @@ function setupThenOpenMainWindow() {
|
||||
// launching the app. Mostly used for running automation tests with
|
||||
// multiple instances
|
||||
let customDataArg = getCmdLineArg(process.argv, '--userDataPath=', false);
|
||||
let customDataFolder = customDataArg.substring(customDataArg.indexOf('=') + 1);
|
||||
let customDataFolder = customDataArg && customDataArg.substring(customDataArg.indexOf('=') + 1);
|
||||
|
||||
if (customDataArg && customDataFolder) {
|
||||
app.setPath('userData', customDataFolder);
|
||||
|
@ -325,7 +325,7 @@ function getTemplate(app) {
|
||||
|
||||
// Window - View menu -> memoryRefresh
|
||||
template[index].submenu.push({
|
||||
label: 'Memory Refresh',
|
||||
label: 'Refresh app when idle',
|
||||
type: 'checkbox',
|
||||
checked: memoryRefresh,
|
||||
click: function(item) {
|
||||
|
Loading…
Reference in New Issue
Block a user