diff --git a/app/lib/config.js b/app/lib/config.js index 23c54742..d9e15269 100644 --- a/app/lib/config.js +++ b/app/lib/config.js @@ -18,6 +18,7 @@ const schema = { isMigratedPlugins: { type: 'boolean', default: false }, openAtLogin: { type: 'boolean', default: true }, winPosition: { type: 'array', default: [] }, + searchBarPlaceholder: { type: 'string', default: 'Cerebro Search' }, } const store = new Store({ diff --git a/app/main/components/Cerebro/index.js b/app/main/components/Cerebro/index.js index c05baf6a..2fa3b979 100644 --- a/app/main/components/Cerebro/index.js +++ b/app/main/components/Cerebro/index.js @@ -338,7 +338,7 @@ function Cerebro({
{ @@ -57,6 +58,12 @@ function Settings({ get, set }) { value={state.proxy} onChange={(value) => changeConfig('proxy', value)} /> + changeConfig('searchBarPlaceholder', value)} + />