This adds a loading and error page for the Electron side of the app. It also unifies how we load the server URL along the way to make it easier to set what the app should do on success/failure.
I tried to use node's util.promisify() but it threw up a native modal with the error rather than invoking my code in .catch() and I couldn't work out how I was holding it wrong.
This adds a loading and error page for the Electron side of the app. It also unifies how we load the server URL along the way to make it easier to set what the app should do on success/failure.
I tried to use node's
util.promisify()
but it threw up a native modal with the error rather than invoking my code in.catch()
and I couldn't work out how I was holding it wrong.I've copied the styles Tom added in #217.
Ref: #12