diff --git a/packages/bruno-app/src/pages/Bruno/index.js b/packages/bruno-app/src/pages/Bruno/index.js
index 9f4de243..f899933b 100644
--- a/packages/bruno-app/src/pages/Bruno/index.js
+++ b/packages/bruno-app/src/pages/Bruno/index.js
@@ -21,6 +21,7 @@ if (!SERVER_RENDERED) {
require('codemirror/addon/edit/matchbrackets');
require('codemirror/addon/fold/brace-fold');
require('codemirror/addon/fold/foldgutter');
+ require('codemirror/addon/fold/xml-fold');
require('codemirror/addon/hint/show-hint');
require('codemirror/addon/lint/lint');
require('codemirror/addon/mode/overlay');
diff --git a/packages/bruno-app/src/pages/_app.js b/packages/bruno-app/src/pages/_app.js
index 0b2f9c3a..64565bc8 100644
--- a/packages/bruno-app/src/pages/_app.js
+++ b/packages/bruno-app/src/pages/_app.js
@@ -41,6 +41,19 @@ function MyApp({ Component, pageProps }) {
return null;
}
+ if (!window.ipcRenderer) {
+ return (
+
+
ERROR:
+
"ipcRenderer" not found in window object.
+
+ You most likely opened Bruno inside your web browser. Bruno only works within Electron, you can start Electron
+ in an adjacent terminal using "npm run dev:electron".
+
+