forked from Nuzair46/Lyrixed
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·27 lines (20 loc) · 841 Bytes
/
install.sh
File metadata and controls
executable file
·27 lines (20 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
if command -v spicetify &> /dev/null
then
echo "Spicetify is already installed. Skipping Spicetify installation..."
else
echo "Spicetify not found. Installing Spicetify..."
curl -fsSL https://raw.githubusercontent.com/spicetify/cli/main/install.sh | sh
curl -fsSL https://raw.githubusercontent.com/spicetify/marketplace/main/resources/install.sh | sh
fi
lyrixedUrl="https://github.com/Nuzair46/Lyrixed/releases/latest/download/lyrixed.zip"
targetDir="$HOME/.config/spicetify/CustomApps/lyrixed"
mkdir -p "$targetDir"
zipFile="$targetDir/lyrixed.zip"
curl -L "$lyrixedUrl" -o "$zipFile"
unzip -o "$zipFile" -d "$targetDir"
rm "$zipFile"
echo "Lyrixed has been successfully downloaded and extracted to $targetDir"
echo "Applying Lyrixed with Spicetify..."
spicetify config custom_apps lyrixed
spicetify apply