Last active
July 13, 2017 13:47
-
-
Save nanonyme/9758981377962f9c104905d6590c28aa to your computer and use it in GitHub Desktop.
Creating a 32bit Steam Flatpak
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -xe | |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
flatpak install flathub org.freedesktop.Platform/i386 org.freedesktop.Sdk/i386 | |
if [ ! -d com.valvesoftware.Steam ] | |
git clone git://github.com/flathub/com.valvesoftware.Steam | |
fi | |
( | |
cd com.valvesoftware.Steam | |
git pull | |
flatpak-builder --repo=$HOME/flatpak-builds --disable-cache --force-clean --arch=i386 com.valvesoftware.Steam com.valvesoftware.Steam.json | |
flatpak flatpak remote-add --user --if-not-exists --no-gpg-verify flatpak-builds file://$HOME/flatpak-builds | |
flatpak install --user flatpak-builds com.valvesoftware.Steam/i386 | |
flatpak update --user flatpak-builds com.valvesoftware.Steam/i386 | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment