mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
JS-6593: Update accelerators with shortcut settings, fix export/import
This commit is contained in:
parent
62b3b97fbc
commit
9535c4b688
4 changed files with 59 additions and 23 deletions
|
@ -19,7 +19,6 @@ if (is.windows) {
|
|||
};
|
||||
|
||||
storage.setDataPath(app.getPath('userData'));
|
||||
//Store.initRenderer();
|
||||
|
||||
const Api = require('./electron/js/api.js');
|
||||
const ConfigManager = require('./electron/js/config.js');
|
||||
|
@ -31,6 +30,8 @@ const Util = require('./electron/js/util.js');
|
|||
const Cors = require('./electron/json/cors.json');
|
||||
const csp = [];
|
||||
|
||||
MenuManager.store = store;
|
||||
|
||||
for (let i in Cors) {
|
||||
csp.push([ i ].concat(Cors[i]).join(' '));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue