Merge pull request #321 from rivanfebrian123/master

Critical update
This commit is contained in:
Vince
2021-06-23 21:39:06 +08:00
committed by GitHub
3 changed files with 14 additions and 6 deletions

View File

@@ -58,6 +58,7 @@ install() {
local color="$2"
local screen="$3"
prompt -i "\n * Install ${theme}${color} in ${WALLPAPER_DIR}... "
mkdir -p "${WALLPAPER_DIR}"
[[ -f ${WALLPAPER_DIR}/${theme}${color}.png ]] && rm -rf ${WALLPAPER_DIR}/${theme}${color}.png
cp -r ${REPO_DIR}/${screen}/${theme}${color}.png ${WALLPAPER_DIR}
}