This commit is contained in:
Vince 2020-10-17 22:07:46 +08:00
parent 091dc940a9
commit 30c9323f82

View File

@ -139,6 +139,7 @@ install() {
if [[ -f "$custom_background" ]]; then
prompt -i "\n Using ${custom_background} as background image..."
cp -a "${REO_DIR}/${custom_background}" "${THEME_DIR}/${name}/background.jpg"
convert -auto-orient "${THEME_DIR}/${name}/background.jpg" "${THEME_DIR}/${name}/background.jpg"
else
prompt -e "$custom_background couldn't be found, exiting"
exit 0