You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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', {});
}
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: