When requiring/mixin ext-electron packages within a current Ext JS application, it shouldn't break when running in a browser. Instead it should check if running in electron, before loading native stuff.
I solved it by adding to Manager.js, Dialog.js, FilePicker.js, FolderField.js the following check:
if(window && window.process) {
// current electron implementation
} else {
Ext.define('Ext.electron.Dialog', {});
}
When requiring/mixin ext-electron packages within a current Ext JS application, it shouldn't break when running in a browser. Instead it should check if running in electron, before loading native stuff.
I solved it by adding to Manager.js, Dialog.js, FilePicker.js, FolderField.js the following check: