Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
v0.9-alpha Lutris bumped dependencies on Gnome to version 42, this re…
Browse files Browse the repository at this point in the history
…lease fix the Lutris installation, and probably need a new run to reinstall Lutris if Lutris was already installed, and was updated to the latest version. Minor fixes.
  • Loading branch information
Chevek committed Mar 27, 2022
1 parent c45ef46 commit ecef409
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.9-alpha
* Lutris bumped dependencies on Gnome to version 42, this release fix the Lutris installation, and probably need a new run to reinstall Lutris if Lutris was already installed, and was updated to the latest version.
* Changed Microsoft Edge safety comment
* Ajusted window size
* unselect option is still work in progress (non fonctionnal)

0.8-alpha
* Added Stadia: it use Miscrosoft Edge Web Browser BETA to connect to the cloud service. Add a .desktop file in the HOME user to get a better usability.
* Added icons: stadia_logo_icon_144848.png from https://icon-icons.com/icon/stadia-logo/144848 license: Attribution 4.0 International (CC BY 4.0)
Expand Down
20 changes: 13 additions & 7 deletions gaming-flatpak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ en:Gaming platform.
security:Vient du dépôt flathub-beta.
dependencies:flatpak remote-add --if-not-exists --user flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
dependencies:flatpak update --assumeyes --noninteractive
dependencies:flatpak install --assumeyes --noninteractive flathub org.gnome.Platform/x86_64/41
dependencies:flatpak install --assumeyes --noninteractive flathub org.gnome.Platform.Compat.i386/x86_64/41
dependencies:flatpak install --assumeyes --noninteractive flathub org.gnome.Platform/x86_64/42
dependencies:flatpak install --assumeyes --noninteractive flathub org.gnome.Platform.Compat.i386/x86_64/42
dependencies:flatpak install --assumeyes --noninteractive flathub org.freedesktop.Platform.GL32.default/x86_64/21.08
# already installed with flathub org.gnome.Platform/x86_64/41:
# already installed with flathub org.gnome.Platform/x86_64/42:
#dependencies:flatpak install --assumeyes --noninteractive flathub org.freedesktop.Platform.GL.default/x86_64/21.08
flatpak install --user --assumeyes --noninteractive flathub-beta net.lutris.Lutris//beta
Expand Down Expand Up @@ -115,14 +115,14 @@ name:Xbox Cloud Gaming & Stadia
url:https://github.com/flathub/com.microsoft.Edge/
fr:Microsoft Edge pour Xbox Cloud Gaming & Stadia.
en:Microsoft Edge for Xbox Cloud Gaming & Stadia.
security:Vient du dépôt flathub-beta.
security:Vient du dépôt flathub-beta, code propriétaire
dependencies:flatpak remote-add --if-not-exists --system flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
dependencies:flatpak update --assumeyes --noninteractive
# Why do we need Godot?!
dependencies:flatpak install --assumeyes --noninteractive --system flathub-beta org.godotengine.Godot
# Gamepad support:
postinstall:flatpak --user override --filesystem=/run/udev:ro com.microsoft.Edge
# We place a .desktop to get a nice Xbox cloud gaming launcher, with its logo:
# We place a .desktop in the HOME folder to get nice Xbox cloud gaming & Stadia launchers, with its logos:
postinstall:cp $PWD/img/Xbox_Cloud_Gaming_Icon.jpg $HOME/.local/share/applications/
postinstall:cp $PWD/desktop/xbox.cloud.gaming.desktop $HOME/.local/share/applications/
postinstall:cp $PWD/img/stadia_logo_icon_144848.png $HOME/.local/share/applications/
Expand Down Expand Up @@ -372,6 +372,7 @@ Options :
--gui Force l'utilisation de fenêtres graphiques (défaut=zenity)
--gui=VAR Choisissez 'zenity' ou 'kdialog' pour vos fenêtres
--nogui Installation en mode texte
--unselect Décoche tous les choix proposés
-h, --help Écrit cette aide
-v, --version Écrit la version et sort
_EOF_
Expand All @@ -385,6 +386,7 @@ Options :
--gui Force GUI (default=zenity)
--gui=VAR Choose 'zenity' or 'kdialog' for the GUI
--nogui Text installation
--unselect Unselect all choices
-h, --help Display this help
-v, --version Display version and exit
_EOF_
Expand Down Expand Up @@ -502,7 +504,7 @@ case ${GAMING_FLATPAK_GUI} in
#echo "**$B**"
ZENITY_LIST=$(eval zenity --list \
--title="Choisissez\ les\ flatpaks\ à\ installer"\
--width 880\
--width 940\
--height 790\
--checklist \
--column "Sélection" \
Expand Down Expand Up @@ -544,7 +546,7 @@ case ${GAMING_FLATPAK_GUI} in
done
KDIALOG_LIST=$(eval kdialog --separate-output \
--checklist "Choisissez\ les\ flatpaks\ à\ installer" \
"$B" --geometry 880x790 )
"$B" --geometry 940x790 )
if [ -z "$KDIALOG_LIST" ]; then
echo "Fatal error: Nothing to install"
echo "Exiting"
Expand Down Expand Up @@ -597,6 +599,10 @@ esac

Gaming-Flatpak_detect_gui()
{
#for PARAMETERS in "$@"
#do
# if [ -n "$PARAMETERS" ] &&
#done
if [ -n "$1" ]; then
if [ "$1" = "kdialog" ] && test -x "$(command -v kdialog 2>/dev/null)"; then
GAMING_FLATPAK_GUI=kdialog
Expand Down

0 comments on commit ecef409

Please sign in to comment.