Fixed install issue

This commit is contained in:
Vince 2020-10-17 20:25:21 +08:00
parent e83c89b0a9
commit 091dc940a9

View File

@ -145,6 +145,8 @@ install() {
fi
else
cp -a "${REO_DIR}/backgrounds/${screen}/background-${theme}.jpg" "${THEME_DIR}/${name}/background.jpg"
fi
if [[ ${screen} == '1080p_21:9' ]]; then
cp -a "${REO_DIR}/assets/assets-${icon}/icons-1080p" "${THEME_DIR}/${name}/icons"
cp -a "${REO_DIR}/assets/assets-${icon}/select-1080p/"*.png "${THEME_DIR}/${name}"
@ -152,7 +154,6 @@ install() {
cp -a "${REO_DIR}/assets/assets-${icon}/icons-${screen}" "${THEME_DIR}/${name}/icons"
cp -a "${REO_DIR}/assets/assets-${icon}/select-${screen}/"*.png "${THEME_DIR}/${name}"
fi
fi
# Set theme
prompt -i "\n Setting ${name} as default..."