feat: 开放小爱音箱补丁固件构建源代码和教程

This commit is contained in:
Del Wang
2025-04-12 23:49:07 +08:00
parent 0585ddab72
commit 2cf6623db9
21 changed files with 1794 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
set -e
# 下载固件
if [ -z "$CI" ]; then
npm run ota
else
npx tsx src/ota.ts
fi
# 提取固件
npm run extract
# 打补丁
npm run patch
# 打包固件
npm run squashfs