mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
Added multidistro build support
This commit is contained in:
parent
839436c130
commit
a21fe73de8
|
@ -9,7 +9,9 @@ echo "This script is helping the flatpak building in $INSTALL_DIR."
|
||||||
read -n 1 -r -s -p $'Press enter to continue...\n'
|
read -n 1 -r -s -p $'Press enter to continue...\n'
|
||||||
echo "Building RetroDECK, please stand by."
|
echo "Building RetroDECK, please stand by."
|
||||||
|
|
||||||
if command -v apt-get >/dev/null; then
|
if command -v apt >/dev/null; then
|
||||||
|
sudo apt install flatpak flatpak-builder
|
||||||
|
elif command -v apt-get >/dev/null; then
|
||||||
sudo apt-get install flatpak flatpak-builder
|
sudo apt-get install flatpak flatpak-builder
|
||||||
elif command -v yum >/dev/null; then
|
elif command -v yum >/dev/null; then
|
||||||
sudo yum install flatpak flatpak-builder # not sure about this
|
sudo yum install flatpak flatpak-builder # not sure about this
|
||||||
|
@ -18,6 +20,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Initializing Flatpak"
|
echo "Initializing Flatpak"
|
||||||
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
flatpak install org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08
|
flatpak install org.kde.Sdk//5.15-21.08 org.kde.Platform//5.15-21.08
|
||||||
|
|
||||||
cd $INSTALL_DIR
|
cd $INSTALL_DIR
|
||||||
|
|
Loading…
Reference in a new issue