From 76f519cff32eafb63d3334eff4402bb1231d94f7 Mon Sep 17 00:00:00 2001 From: Botspot Date: Mon, 7 Dec 2020 11:42:46 -0600 Subject: [PATCH] Make Steam launch in Small Mode on install --- apps/Steam/install-32 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/Steam/install-32 b/apps/Steam/install-32 index f1f492d..82b1746 100755 --- a/apps/Steam/install-32 +++ b/apps/Steam/install-32 @@ -16,12 +16,20 @@ fi echo "Downloading steam.deb" wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb || error "Failed to download steam.deb!" + echo "Extracting steam.deb" ar x steam.deb + echo "Installing files..." sudo tar xf data.tar.xz -C / + echo "Edited steam script to run on Raspberry Pi..." sudo sed -i 's/set -e/set -e\nexport STEAMOS=1\nexport STEAM_RUNTIME=1/' /usr/lib/steam/bin_steam.sh + +echo "Creating a Steam config file so it will launch in Small Mode..." +[ ! -e ~/.local/share/Steam/config ] && mkdir -p ~/.local/share/Steam/config +wget https://raw.githubusercontent.com/Botspot/Steam-RPi/main/DialogConfig.vdf -O ~/.local/share/Steam/config/DialogConfig.vdf + echo "Cleaning up..." rm steam.deb control.tar.gz debian-binary data.tar.xz exit 0