console.info(colors.yellow('\n!!! IMPORTANT !!!'))
installMode='upgrade'
console.info(colors.yellow('Running the configuration wizard is optional but recommended after an upgrade to ensure your config file is using the latest available settings.'))
console.info(colors.yellow('Note that the contents of your config file will be displayed during the configuration wizard. It is therefor highly recommended to run the wizard on a non-publicly accessible port or skip this step completely.\n'))
returntrue
returntrue
}).catch(err=>{
}).catch(err=>{
// Is New Install
// Is New Install
if(err.code==='ENOENT'){
if(err.code==='ENOENT'){
ora.text='First-time install, creating a new config.yml...'
ora.text='First-time install, creating a new config.yml...'
console.info(colors.yellow('\n!!! IMPORTANT !!!'))
console.info(colors.yellow('Running the configuration wizard is optional but recommended after an upgrade to ensure your config file is using the latest available settings.'))
console.info(colors.yellow('Note that the contents of your config file will be displayed during the configuration wizard. It is therefor highly recommended to run the wizard on a non-publicly accessible port or skip this step completely.\n'))