feat: 开放小爱音箱补丁固件构建源代码和教程
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user