We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26112aa commit de7d7a8Copy full SHA for de7d7a8
1 file changed
electron/mapi/manager/plugin/index.ts
@@ -66,8 +66,8 @@ export const ManagerPlugin = {
66
preload = null
67
}
68
// main && mainFastPanel
69
- let main = plugin.main;
70
- let mainFastPanel = plugin.mainFastPanel;
+ let main = plugin.main || null;
+ let mainFastPanel = plugin.mainFastPanel || null;
71
if (!mainFastPanel) {
72
mainFastPanel = main
73
0 commit comments