0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Better Icons

Nix Fix
This commit is contained in:
Andrey Onishchenko
2024-03-07 22:16:21 +03:00
parent f5eeac19b4
commit 8bf13524b5
5 changed files with 13 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ usage() {
exe_location=
dst="$PWD/app"
START_DIR="$PWD"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
nopatch=0
while getopts :xo:ph name; do
@@ -83,6 +84,10 @@ find "./" -type f -name "*.html" -print0 | while IFS= read -r -d $'\0' file; do
done
echo "Title Fixed"
echo "Replacing Icons"
cp -af "$SCRIPT_DIR/icons/." "./build/next-desktop/"
echo "Replaced Icons"
# applying patches
# This function accepts patch file. If it names starts with `XXXX-optional`,
@@ -116,6 +121,8 @@ if [ "$nopatch" != "1" ]; then
done
fi
cd "$START_DIR" # fix relative path when using -o flag
mkdir -p "$dst"
if [ -n "$extract_only" ]; then