mirror of
https://github.com/JackHack96/EasyEffects-Presets.git
synced 2024-11-23 06:10:09 +00:00
Fix install
This commit is contained in:
parent
87de36fcae
commit
b4cd0808a7
3 changed files with 10 additions and 16 deletions
|
@ -14,7 +14,7 @@
|
||||||
"convolver": {
|
"convolver": {
|
||||||
"input-gain": -2.0,
|
"input-gain": -2.0,
|
||||||
"ir-width": 100,
|
"ir-width": 100,
|
||||||
"kernel-path": "/home/matteo/.var/app/com.github.wwmm.easyeffects/config/easyeffects/irs/Razor Surround ((48k Z-Edition)) 2.Stereo +20 bass.irs",
|
"kernel-path": "<PRESETS_DIRECTORY>/irs/Razor Surround ((48k Z-Edition)) 2.Stereo +20 bass.irs",
|
||||||
"output-gain": 0.0
|
"output-gain": 0.0
|
||||||
},
|
},
|
||||||
"crossfeed": {
|
"crossfeed": {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"convolver": {
|
"convolver": {
|
||||||
"input-gain": -2.0,
|
"input-gain": -2.0,
|
||||||
"ir-width": 100,
|
"ir-width": 100,
|
||||||
"kernel-path": "/home/matteo/.var/app/com.github.wwmm.easyeffects/config/easyeffects/irs/Razor Surround ((48k Z-Edition)) 2.Stereo +20 bass.irs",
|
"kernel-path": "<PRESETS_DIRECTORY>/irs/Razor Surround ((48k Z-Edition)) 2.Stereo +20 bass.irs",
|
||||||
"output-gain": 0.0
|
"output-gain": 0.0
|
||||||
},
|
},
|
||||||
"equalizer": {
|
"equalizer": {
|
||||||
|
|
22
install.sh
22
install.sh
|
@ -4,16 +4,15 @@
|
||||||
GIT_REPOSITORY="https://raw.githubusercontent.com/JackHack96/PulseEffects-Presets/master"
|
GIT_REPOSITORY="https://raw.githubusercontent.com/JackHack96/PulseEffects-Presets/master"
|
||||||
|
|
||||||
check_installation() {
|
check_installation() {
|
||||||
if command -v flatpak &> /dev/null; then
|
if command -v flatpak &> /dev/null && flatpak list | grep -q "com.github.wwmm.easyeffects"; then
|
||||||
if flatpak list | grep -q "com.github.wwmm.easyeffects"; then
|
PRESETS_DIRECTORY="$HOME/.var/app/com.github.wwmm.easyeffects/config/easyeffects"
|
||||||
PRESETS_DIRECTORY="$HOME/.var/app/com.github.wwmm.easyeffects/config/easyeffects"
|
elif which easyeffects >/dev/null; then
|
||||||
fi
|
|
||||||
elif [ -d "$HOME/.config/easyeffects" ]; then
|
|
||||||
PRESETS_DIRECTORY="$HOME/.config/easyeffects"
|
PRESETS_DIRECTORY="$HOME/.config/easyeffects"
|
||||||
else
|
else
|
||||||
echo "Error! Couldn't find EasyEffects presets directory!"
|
echo "Error! Couldn't find EasyEffects presets directory!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
mkdir -p $PRESETS_DIRECTORY
|
||||||
}
|
}
|
||||||
|
|
||||||
check_impulse_response_directory() {
|
check_impulse_response_directory() {
|
||||||
|
@ -63,37 +62,32 @@ install_presets(){
|
||||||
curl "$GIT_REPOSITORY/irs/HTC%20Beats%20Audio%20((Z-Edition)).irs" --output "$PRESETS_DIRECTORY/irs/HTC Beats Audio ((Z-Edition)).irs" --silent
|
curl "$GIT_REPOSITORY/irs/HTC%20Beats%20Audio%20((Z-Edition)).irs" --output "$PRESETS_DIRECTORY/irs/HTC Beats Audio ((Z-Edition)).irs" --silent
|
||||||
curl "$GIT_REPOSITORY/irs/Waves%20MaxxAudio%20((Z-Edition))%20AudioWizard%201.Music.irs" --output "$PRESETS_DIRECTORY/irs/Waves MaxxAudio ((Z-Edition)) AudioWizard 1.Music.irs" --silent
|
curl "$GIT_REPOSITORY/irs/Waves%20MaxxAudio%20((Z-Edition))%20AudioWizard%201.Music.irs" --output "$PRESETS_DIRECTORY/irs/Waves MaxxAudio ((Z-Edition)) AudioWizard 1.Music.irs" --silent
|
||||||
echo "Selecting default impulse response file..."
|
echo "Selecting default impulse response file..."
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json"
|
sed -i "s|<PRESETS_DIRECTORY>|$PRESETS_DIRECTORY|g" "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json"
|
||||||
echo "Installing Boosted preset..."
|
echo "Installing Boosted preset..."
|
||||||
curl "$GIT_REPOSITORY/Boosted.json" --output "$PRESETS_DIRECTORY/output/Boosted.json" --silent
|
curl "$GIT_REPOSITORY/Boosted.json" --output "$PRESETS_DIRECTORY/output/Boosted.json" --silent
|
||||||
echo "Installing Perfect EQ preset..."
|
echo "Installing Perfect EQ preset..."
|
||||||
curl "$GIT_REPOSITORY/Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Perfect EQ.json" --silent
|
curl "$GIT_REPOSITORY/Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Perfect EQ.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Perfect EQ.json"
|
|
||||||
curl "$GIT_REPOSITORY/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent
|
curl "$GIT_REPOSITORY/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Boosted.json"
|
sed -i "s|<PRESETS_DIRECTORY>|$PRESETS_DIRECTORY|g" "$PRESETS_DIRECTORY/output/Bass Boosted.json"
|
||||||
echo "Installing Advanced Auto Gain..."
|
echo "Installing Advanced Auto Gain..."
|
||||||
curl "$GIT_REPOSITORY/Advanced%20Auto%20Gain.json" --output "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" --silent
|
curl "$GIT_REPOSITORY/Advanced%20Auto%20Gain.json" --output "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json"
|
|
||||||
;;
|
;;
|
||||||
2) echo "Installing Perfect EQ preset..."
|
2) echo "Installing Perfect EQ preset..."
|
||||||
curl "$GIT_REPOSITORY/Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Perfect EQ.json" --silent
|
curl "$GIT_REPOSITORY/Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Perfect EQ.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Perfect EQ.json"
|
|
||||||
;;
|
;;
|
||||||
3) echo "Installing Bass Enhancing + Perfect EQ preset..."
|
3) echo "Installing Bass Enhancing + Perfect EQ preset..."
|
||||||
curl "$GIT_REPOSITORY/Bass%20Enhancing%20%2B%20Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json" --silent
|
curl "$GIT_REPOSITORY/Bass%20Enhancing%20%2B%20Perfect%20EQ.json" --output "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json"
|
sed -i "s|<PRESETS_DIRECTORY>|$PRESETS_DIRECTORY|g" "$PRESETS_DIRECTORY/output/Bass Enhancing + Perfect EQ.json"
|
||||||
echo "Installing Boosted preset..."
|
echo "Installing Boosted preset..."
|
||||||
curl "$GIT_REPOSITORY/Boosted.json" --output "$PRESETS_DIRECTORY/output/Boosted.json" --silent
|
curl "$GIT_REPOSITORY/Boosted.json" --output "$PRESETS_DIRECTORY/output/Boosted.json" --silent
|
||||||
curl "$GIT_REPOSITORY/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent
|
curl "$GIT_REPOSITORY/Bass%20Boosted.json" --output "$PRESETS_DIRECTORY/output/Bass Boosted.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Bass Boosted.json"
|
sed -i "s|<PRESETS_DIRECTORY>|$PRESETS_DIRECTORY|g" "$PRESETS_DIRECTORY/output/Bass Boosted.json"
|
||||||
;;
|
;;
|
||||||
4) echo "Installing Advanced Auto Gain..."
|
4) echo "Installing Advanced Auto Gain..."
|
||||||
curl "$GIT_REPOSITORY/Advanced%20Auto%20Gain.json" --output "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" --silent
|
curl "$GIT_REPOSITORY/Advanced%20Auto%20Gain.json" --output "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Advanced Auto Gain.json"
|
|
||||||
;;
|
;;
|
||||||
5) echo "Installing Laptop preset..."
|
5) echo "Installing Laptop preset..."
|
||||||
curl "https://raw.githubusercontent.com/Digitalone1/EasyEffects-Presets/master/LoudnessEqualizerPE.json" --output "$PRESETS_DIRECTORY/output/Laptop.json" --silent
|
curl "https://raw.githubusercontent.com/Digitalone1/EasyEffects-Presets/master/LoudnessEqualizerPE.json" --output "$PRESETS_DIRECTORY/output/Laptop.json" --silent
|
||||||
sed -i 's/matteo/'"$USER"'/g' "$PRESETS_DIRECTORY/output/Laptop.json"
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue