2024-06-04 15:27:28 -07:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
wget -o /tmp/goxlr.rpm $(curl -s https://api.github.com/repos/GoXLR-on-Linux/goxlr-utility/releases/latest | grep "browser_download_url.*rpm" | cut -d : -f 2,3 | tr -d \" | head -n 1)
|
|
|
|
sudo dnf install /tmp/goxlr.rpm
|
|
|
|
rm /tmp/goxlr.rpm
|
|
|
|
|
|
|
|
# Delete default profiles, replace with symlinked custom profiles
|
|
|
|
rm -rf ~/.local/share/goxlr-utility/profiles
|
|
|
|
ln -s $(realpath ../config/goxlr) $(realpath ~/.local/share/goxlr-utility/profiles)
|
|
|
|
|
2024-06-07 00:50:47 -07:00
|
|
|
mkdir -p ~/.config/systemd/user/
|
|
|
|
cp ../config/goxlr/GoXLR.service ~/.config/systemd/user/
|
|
|
|
|
|
|
|
systemctl --user daemon-reload
|
|
|
|
systemctl --user enable GoXLR.service
|
|
|
|
systemctl --user start GoXLR.service
|