mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2026-03-07 03:04:02 +08:00
Fixed #249
This commit is contained in:
@@ -142,7 +142,7 @@ generate() {
|
|||||||
fi
|
fi
|
||||||
prompt -w "\n Using custom background.jpg as grub background image..."
|
prompt -w "\n Using custom background.jpg as grub background image..."
|
||||||
cp -a --no-preserve=ownership "${REO_DIR}/background.jpg" "${THEME_DIR}/${theme}/background.jpg"
|
cp -a --no-preserve=ownership "${REO_DIR}/background.jpg" "${THEME_DIR}/${theme}/background.jpg"
|
||||||
magick -auto-orient "${THEME_DIR}/${theme}/background.jpg" "${THEME_DIR}/${theme}/background.jpg"
|
magick "${THEME_DIR}/${theme}/background.jpg" -auto-orient "${THEME_DIR}/${theme}/background.jpg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Determine which assets to use based on custom resolution or screen
|
# Determine which assets to use based on custom resolution or screen
|
||||||
|
|||||||
Reference in New Issue
Block a user