上一篇文章我们简单写了一个shell刷机脚本,这期我们要在上一期文章的基础上添加更多的操作
目标
创建两个选择,一个是刷入magisk-boot镜像,另一个是还原官方镜像
实现在开机状态下自动进入fastboot模式,在fastboot模式
more >>
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true