Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.