Skip to content

Instantly share code, notes, and snippets.

@nanonyme
Last active July 13, 2017 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanonyme/9758981377962f9c104905d6590c28aa to your computer and use it in GitHub Desktop.
Save nanonyme/9758981377962f9c104905d6590c28aa to your computer and use it in GitHub Desktop.
Creating a 32bit Steam Flatpak
#!/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