Created a new file app/lib/defaultsources.js and added it to app/lib/setup.js so that file system checks occur in the main thread.e render
Reworked app/client/models/defaultsources.js to get the datasource key via IPC (in the case when 'datasources:add' needs to be triggered.
Ultimately I hope the logic in app/client/lib/datasource.js (which can be invoked by 'datasources:add') will be similarly divided between the main and render threads
Created a new file
app/lib/defaultsources.js
and added it toapp/lib/setup.js
so that file system checks occur in the main thread.e renderReworked
app/client/models/defaultsources.js
to get the datasource key via IPC (in the case when 'datasources:add' needs to be triggered.Ultimately I hope the logic in
app/client/lib/datasource.js
(which can be invoked by 'datasources:add') will be similarly divided between the main and render threads