1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Provide some more feedback

This commit is contained in:
2023-05-18 22:17:50 +02:00
parent 5ff06e4ad3
commit 4a0f0f1c23

View File

@@ -4,13 +4,16 @@
mkdir /tmp/proton-ge-custom mkdir /tmp/proton-ge-custom
cd /tmp/proton-ge-custom cd /tmp/proton-ge-custom
# download tarball # download tarball
echo "Downloading tarball of latest release..."
curl -sLOJ $(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep .tar.gz) curl -sLOJ $(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep .tar.gz)
# download checksum # download checksum
echo "Downloading checksum..."
curl -sLOJ $(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep .sha512sum) curl -sLOJ $(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep .sha512sum)
# check tarball with checksum # check tarball with checksum
echo "Checking..."
sha512sum -c *.sha512sum sha512sum -c *.sha512sum
# if result is ok, continue # if result is ok, continue
@@ -18,5 +21,6 @@ sha512sum -c *.sha512sum
mkdir -p ~/.steam/root/compatibilitytools.d mkdir -p ~/.steam/root/compatibilitytools.d
# extract proton tarball to steam directory # extract proton tarball to steam directory
echo "Extracting to Steam folder..."
tar -xf GE-Proton*.tar.gz -C ~/.steam/root/compatibilitytools.d/ tar -xf GE-Proton*.tar.gz -C ~/.steam/root/compatibilitytools.d/
echo "All done :)" echo "All done :)"