download: Print Google terms and disclaimers

This commit is contained in:
Danny Lin 2021-12-17 20:15:57 -08:00
parent 3709639fb7
commit f2e4210c63

View file

@ -28,6 +28,13 @@ export default class Download extends Command {
await fs.mkdir(out, { recursive: true }) await fs.mkdir(out, { recursive: true })
this.log(chalk.bold(chalk.redBright("By downloading images, you agree to Google's terms and conditions:")))
this.log(chalk.red(` - https://developers.google.com/android/images#legal
- https://developers.google.com/android/ota#legal
- https://policies.google.com/terms
`))
let cache: IndexCache = {} let cache: IndexCache = {}
for (let device of flags.device) { for (let device of flags.device) {
this.log(chalk.greenBright(`${device}`)) this.log(chalk.greenBright(`${device}`))