From 4c9cceca5e743d1d2e6733cff0628f5c507f0ada Mon Sep 17 00:00:00 2001 From: Burt <1020103647@qq.com> Date: Wed, 24 Jan 2024 11:23:34 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20manifest.json=20=E7=94=9F=E6=88=90?= =?UTF-8?q?=E7=9A=84=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/postinstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shell/postinstall.sh b/shell/postinstall.sh index ef514ab..a222e17 100644 --- a/shell/postinstall.sh +++ b/shell/postinstall.sh @@ -4,3 +4,7 @@ else touch ./src/manifest.json echo "{}" >./src/manifest.json fi + +# 本文件会在依赖包安装时执行,用以生成 `src/manifest.json` +# 如果不存在 `src/manifest.json` 会运行报错,提示找不到 `src/manifest.json` +# 如果中途自己删除了 'src/manifest.json' 文件,记得手动执行本文件,可以右键 `Run Code` 快速执行