That Mx post is a bit old, as is the default project that's attached to it. You don't need the default project that Mx posted.
Create a new Cordova project from scratch (by following instructions on cordova site). Just update the assets/www/js/index.js. I changed line 36 to: window.location = "https://appurl/login-mobile.html". You probably have to do some more steps, I don't know it exactly anymore. But when you Google: "wrap URL with cordova" then you should find instructions.