I think you'd also have to change the `window.App` assignment to `require('appkit/app')`.