mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
更新 .gitattributes 文件以支持二进制文件,并修改 menu.sh 中的更新脚本执行方式
This commit is contained in:
parent
f70815c117
commit
647b6024fd
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -1 +1,5 @@
|
||||
*.sh eol=lf
|
||||
* text=auto eol=lf
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
|
@ -3556,7 +3556,8 @@ function updateRR() {
|
||||
fi
|
||||
# Check conditions
|
||||
if [ -f "${TMP_PATH}/update/update-check.sh" ]; then
|
||||
cat "${TMP_PATH}/update/update-check.sh" | bash
|
||||
chmod +x "${TMP_PATH}/update/update-check.sh"
|
||||
bash "${TMP_PATH}/update/update-check.sh"
|
||||
if [ $? -ne 0 ]; then
|
||||
MSG="$(TEXT "The current version does not support upgrading to the latest update.zip. Please remake the bootloader disk!")"
|
||||
if [ "${2}" = "-1" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user