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

Commit

Permalink
v0.8-alpha, add Stadia
Browse files Browse the repository at this point in the history
  • Loading branch information
Chevek committed Mar 19, 2022
1 parent 4fe2b55 commit c45ef46
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
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)

0.7-alpha
* Added Xbox Cloud Gaming: 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: Xbox_Cloud_Gaming_Icon.jpg from Microsoft for the Steam Deck see https://www.reddit.com/r/MicrosoftEdge/comments/th77w9/microsoft_edge_beta_the_browser_for_xbox_cloud/ , for the script gaming-flatpat we will use this: applications-games-symbolic.svg from https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/blob/master/Adwaita/scalable/categories/applications-games-symbolic.svg (This work is licenced under the terms of either the GNU LGPL v3 or Creative Commons Attribution-Share Alike 3.0 United States License.)
Expand Down
16 changes: 16 additions & 0 deletions desktop/stadia.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Stadia
GenericName=Cloud Gaming
Comment=Access the Cloud Stadia from Google
Exec=/usr/bin/flatpak run --branch=beta --arch=x86_64 --command=/app/bin/edge --file-forwarding com.microsoft.Edge --kiosk "https://stadia.google.com" @@u %U @@
StartupNotify=true
Terminal=false
Icon=~/.local/share/applications/stadia_logo_icon_144848.png
StartupWMClass=microsoft-edge-beta
Type=Application
Categories=WebBrowser;
X-Flatpak-Tags=proprietary;
X-Flatpak=com.microsoft.Edge

13 changes: 8 additions & 5 deletions gaming-flatpak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
############################################################################################
# Initialize variables
GAMING_FLATPAK_VERSION=0.7
GAMING_FLATPAK_VERSION=0.8

# Commands to install
FLATPAKS="# This is where you put the Flatpaks commands to install softwares and their descriptions in various langages:
Expand Down Expand Up @@ -110,11 +110,11 @@ en:A libre replacement for Steam.
security:[✓]
flatpak install --assumeyes --noninteractive flathub com.gitlab.librebob.Athenaeum
# Xbox Cloud Gaming
name:Xbox Cloud Gaming
# Xbox Cloud Gaming & Stadia
name:Xbox Cloud Gaming & Stadia
url:https://github.com/flathub/com.microsoft.Edge/
fr:Microsoft Edge BETA for Xbox Cloud Gaming.
en:Microsoft Edge BETA for Xbox Cloud Gaming.
fr:Microsoft Edge pour Xbox Cloud Gaming & Stadia.
en:Microsoft Edge for Xbox Cloud Gaming & Stadia.
security:Vient du dépôt flathub-beta.
dependencies:flatpak remote-add --if-not-exists --system flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
dependencies:flatpak update --assumeyes --noninteractive
Expand All @@ -125,8 +125,11 @@ 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:
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/
postinstall:cp $PWD/desktop/stadia.desktop $HOME/.local/share/applications/
# The icon is in the HOME folder, we need to get the absolute path, replacing ~ with it:
postinstall:sed -i 's;~;$HOME;g' $HOME/.local/share/applications/xbox.cloud.gaming.desktop
postinstall:sed -i 's;~;$HOME;g' $HOME/.local/share/applications/stadia.desktop
flatpak install --assumeyes --noninteractive --system flathub-beta com.microsoft.Edge
# RPCS3
Expand Down
Binary file added img/stadia_logo_icon_144848.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c45ef46

Please sign in to comment.