有29人阅读过
使用i18n创建适用于ARC编译的文件包 【有备无患】[在线法]
发布于2023/07/08 更新于2023/07/08
[ 教程仅保证更新时有效,请自行测试。]
发布于2023/07/08 更新于2023/07/08
[ 教程仅保证更新时有效,请自行测试。]
[ 教程仅保证更新时有效,请自行测试。]
* 此功能需要在任意arpl工具内操作
* 此功能需要配合arc的model,yml文件格式,示例格式:DS920+.rar
在项目中下载update.sh文件,项目地址:https://github.com/AuxXxilium/arc-dsm
备用下载:update.rar
使用方法:
上传update.sh到arpl目录,opt/arpl
使用以下代码更改update.sh内容,并创建configs配置文件目录
上传model.yml文件到configs目录
#替换下载地址 sed -i 's|www.synology.com/api/support/findDownloadInfo?lang=en-us|www.synology.cn/api/support/findDownloadInfo?lang=zh-cn|g' ./update.sh #修改解压文件路径 sed -i 's|${CACHE_PATH}/extractor|/mnt/p3/extractor|g' ./update.sh #创建配置文件夹 mkdir -p configs #删除配置在线下载任务 sed -i '/rm -f "${CONFIGS}"/d' ./update.sh sed -i '/mkdir -p "${CONFIGS}"/d' ./update.sh sed -i '/git clone/d' ./update.sh #提权 chmod 0755 ./update.sh
开始操作
bash update.sh
文章对你有帮助吗?
- 一般[0]
- 很赞[0]
- 没用[0]
- 垃圾[0]
- 无语[0]