diff --git a/lib/App.js b/lib/App.js index 0b52ac58..0a588012 100644 --- a/lib/App.js +++ b/lib/App.js @@ -1398,6 +1398,22 @@ $ sudo systemctl restart docker } } + if (process.env.HOMEY_HEADLESS !== '1') { + Log(''); + Log.info('Before publishing, please review the Homey App Store guidelines:'); + Log.info('https://apps.developer.homey.app/app-store/guidelines'); + Log(''); + const { hasReadGuidelines } = await inquirer.prompt([ + { + type: 'confirm', + name: 'hasReadGuidelines', + message: 'I have read the Homey App Store guidelines', + default: false, + }, + ]); + if (!hasReadGuidelines) return; + } + let manifest = App.getManifest({ appPath: this.path }); try {