Electron DevTools (Ember-Inspector) still installed?


#1

Hello all!

I am using electron to wrap an ember application, so I was originally adding ember inspector with …

BrowserWindow.addDevToolsExtension(path.join(__dirname, 'extensions/ember_inspector/1.10.0_0'));

…in the main process to load the extension into the application for testing, which works great. However when I comment this line out and rebuild the application I still get ember inspector in devTools and I still get this nice fun little warning.

Mixed Content: The page at '<https://URL I purposely removed>' was loaded over HTTPS, but requested an insecure script 'chrome-extension://ember-inspector/scripts/in-page-script.js'. This content should also be served over HTTPS.

I am unsure why or how ember inspector is still getting into my app. I also load react-devtools for a different project and I have not ran into this problem.

Any ideas?


#2

Once installed DevTools extensions persist between app restarts, to uninstall them you need to call BrowserWindow.removeDevToolsExtension().