oneshot_linux/install

29 lines
708 B
Text
Raw Normal View History

2023-01-03 21:04:52 +01:00
#!/bin/bash
echo "Installing fix_libs.sh"
chmod +x fix_libs.sh
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh ]; then
echo "Already installed"
else
cp fix_libs.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
fi
echo "Installing journal.sh"
chmod +x journal.sh
if [ -f $HOME/.local/share/Steam/steamapps/common/OneShot/journal.sh ]; then
echo "Already installed"
else
cp journal.sh $HOME/.local/share/Steam/steamapps/common/OneShot/
fi
echo "Installing onejournal"
chmod +x onejournal
if [ -f /usr/bin/onejournal ]; then
echo "Already installed"
else
sudo cp onejournal /usr/bin/
fi
echo "Fixing libraries"
2023-01-03 21:23:58 +01:00
.$HOME/.local/share/Steam/steamapps/common/OneShot/fix_libs.sh