From 9a284e61c5a63c48ac61ba28cb364ba629194e17 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 1 Feb 2025 09:54:20 -0500 Subject: [PATCH 01/11] feat: add ujust file to make non steam games for webapps --- .../ublue-os/just/87-bazzite-webapps.just | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just new file mode 100644 index 0000000000..7f027c34c3 --- /dev/null +++ b/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just @@ -0,0 +1,19 @@ +# vim: set ft=make : + +# template for installing webapps as non-Steam games script +setup-example: + #!/bin/bash + # Global variables for script + app_name='ex' + site_url='example.com' + default_path=~/Documents + # Default path + cd $default_path || exit + # Create the script file + echo -e '#!/bin/bash + /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --file-forwarding com.google.Chrome --new-window --hide-scrollbars --kiosk '"$site_url"'' > "$app_name.sh" + # Make script runnable + chmod +x ./$app_name.sh + echo $app_name successfully created! + # Add our script file to Steam as non-Steam game + steamos-add-to-steam $(pwd)/$app_name.sh From a3400aa3245338edbd8b86034fc292cbe89295e0 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 1 Feb 2025 10:08:52 -0500 Subject: [PATCH 02/11] fix: swap chrome for FF, better default compatibility --- .../shared/usr/share/ublue-os/just/87-bazzite-webapps.just | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just index 7f027c34c3..396a1114df 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just @@ -1,7 +1,7 @@ # vim: set ft=make : -# template for installing webapps as non-Steam games script -setup-example: +# template for installing webapps as non-Steam games +_setup-example: #!/bin/bash # Global variables for script app_name='ex' @@ -11,7 +11,7 @@ setup-example: cd $default_path || exit # Create the script file echo -e '#!/bin/bash - /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/chrome --file-forwarding com.google.Chrome --new-window --hide-scrollbars --kiosk '"$site_url"'' > "$app_name.sh" + /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk '"$site_url"'' > "$app_name.sh" # Make script runnable chmod +x ./$app_name.sh echo $app_name successfully created! From 0b84df0c5c87e9feb8d8c24ed2668080a58398eb Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 1 Feb 2025 10:48:56 -0500 Subject: [PATCH 03/11] feat: add xbox cloud, tweak script --- Containerfile | 1 + ...zite-webapps.just => 88-bazzite-webapps.just} | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) rename system_files/desktop/shared/usr/share/ublue-os/just/{87-bazzite-webapps.just => 88-bazzite-webapps.just} (52%) diff --git a/Containerfile b/Containerfile index 2f595a774c..5e773b2d24 100644 --- a/Containerfile +++ b/Containerfile @@ -770,6 +770,7 @@ RUN rm -f /etc/profile.d/toolbox.sh && \ echo "import \"/usr/share/ublue-os/just/85-bazzite-image.just\"" >> /usr/share/ublue-os/justfile && \ echo "import \"/usr/share/ublue-os/just/86-bazzite-windows.just\"" >> /usr/share/ublue-os/justfile && \ echo "import \"/usr/share/ublue-os/just/87-bazzite-framegen.just\"" >> /usr/share/ublue-os/justfile && \ + echo "import \"/usr/share/ublue-os/just/88-bazzite-webapps.just\"" >> /usr/share/ublue-os/justfile && \ echo "import \"/usr/share/ublue-os/just/90-bazzite-de.just\"" >> /usr/share/ublue-os/justfile && \ if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \ systemctl enable usr-share-sddm-themes.mount && \ diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just similarity index 52% rename from system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just rename to system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 396a1114df..148ca2ebd8 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/87-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -17,3 +17,19 @@ _setup-example: echo $app_name successfully created! # Add our script file to Steam as non-Steam game steamos-add-to-steam $(pwd)/$app_name.sh + +# add xbox cloud gaming to steam as a non-Steam game +setup-gamepass: + #!/bin/bash + # Global variables for script + default_path=~/Documents + # Default path + cd $default_path || exit + # Create the script file + echo -e '#!/bin/bash + /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk 'https://www.xbox.com/play'' > "Xbox.sh" + # Make script runnable + chmod +x ./$app_name.sh + echo $app_name successfully created! + # Add our script file to Steam as non-Steam game + steamos-add-to-steam $(pwd)/Xbox.sh From b42689e330fc5dbcab45a05875b0d402c90a69ce Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 1 Feb 2025 11:17:38 -0500 Subject: [PATCH 04/11] chore: clean up script --- .../ublue-os/just/88-bazzite-webapps.just | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 148ca2ebd8..d53b958f18 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -1,35 +1,12 @@ # vim: set ft=make : -# template for installing webapps as non-Steam games -_setup-example: - #!/bin/bash - # Global variables for script - app_name='ex' - site_url='example.com' - default_path=~/Documents - # Default path - cd $default_path || exit - # Create the script file - echo -e '#!/bin/bash - /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk '"$site_url"'' > "$app_name.sh" - # Make script runnable - chmod +x ./$app_name.sh - echo $app_name successfully created! - # Add our script file to Steam as non-Steam game - steamos-add-to-steam $(pwd)/$app_name.sh - # add xbox cloud gaming to steam as a non-Steam game setup-gamepass: #!/bin/bash - # Global variables for script default_path=~/Documents - # Default path cd $default_path || exit - # Create the script file echo -e '#!/bin/bash /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk 'https://www.xbox.com/play'' > "Xbox.sh" - # Make script runnable chmod +x ./$app_name.sh - echo $app_name successfully created! - # Add our script file to Steam as non-Steam game steamos-add-to-steam $(pwd)/Xbox.sh + echo Xbox successfully created! From dd390a3d9ccf4a006860b87ca9c1edca6adbd82a Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 1 Feb 2025 11:32:55 -0500 Subject: [PATCH 05/11] feat: first pass of ugum picker menu --- .../ublue-os/just/88-bazzite-webapps.just | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index d53b958f18..055052a0db 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -10,3 +10,51 @@ setup-gamepass: chmod +x ./$app_name.sh steamos-add-to-steam $(pwd)/Xbox.sh echo Xbox successfully created! + +get-webapp: + #!/usr/bin/bash + # Load ugum for interactive menu + source /usr/lib/ujust/ujust.sh + # Set default path for saving scripts + default_path=~/Documents + mkdir -p "$default_path" + cd "$default_path" || exit + # Display menu + echo -e "\n${bold}Select a web app to add to Steam:${normal}" + CHOICE=$(ugum choose "Xbox Cloud Gaming" "YouTube" "Amazon Luna" "Netflix" "Exit") + # Function to create webapp script and add to Steam + create_webapp() { + app_name="$1" + app_url="$2" + script_path="$default_path/$app_name.sh" + # Create the script + echo -e "#!/bin/bash\n/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk '$app_url'" > "$script_path" + # Make script executable + chmod +x "$script_path" + # Add to Steam + steamos-add-to-steam "$script_path" + echo -e "${bold}${app_name}${normal} successfully added to Steam! 🚀" + } + # Process user choice + case "$CHOICE" in + "Xbox Cloud Gaming") + create_webapp "Xbox" "https://www.xbox.com/play" + ;; + "YouTube") + create_webapp "YouTube" "https://www.youtube.com" + ;; + "Amazon Luna") + create_webapp "Amazon_Luna" "https://www.amazon.com/luna" + ;; + "Netflix") + create_webapp "Netflix" "https://www.netflix.com" + ;; + "Exit") + echo -e "${bold}Exiting...${normal}" + exit 0 + ;; + *) + echo -e "${red}Invalid choice. Exiting.${normal}" + exit 1 + ;; + esac From 53c234e37e5b9e3e54aaf69c7e494ff577bef752 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 20:22:57 -0500 Subject: [PATCH 06/11] feat: remove PWA firefox method, integrate Aru's Appimage with args method --- .../ublue-os/just/88-bazzite-webapps.just | 129 +++++++++++------- 1 file changed, 82 insertions(+), 47 deletions(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 055052a0db..b087ff968c 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -1,60 +1,95 @@ # vim: set ft=make : -# add xbox cloud gaming to steam as a non-Steam game -setup-gamepass: - #!/bin/bash - default_path=~/Documents - cd $default_path || exit - echo -e '#!/bin/bash - /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk 'https://www.xbox.com/play'' > "Xbox.sh" - chmod +x ./$app_name.sh - steamos-add-to-steam $(pwd)/Xbox.sh - echo Xbox successfully created! - get-webapp: #!/usr/bin/bash # Load ugum for interactive menu source /usr/lib/ujust/ujust.sh - # Set default path for saving scripts - default_path=~/Documents - mkdir -p "$default_path" - cd "$default_path" || exit + # Function to install StreamingServiceLauncher + install_launcher() { + echo "Installing StreamingServiceLauncher..." + # Create necessary directories + mkdir -p "$HOME/.local/bin" + mkdir -p "$HOME/Applications" + # Clean up any old versions + rm -f "$HOME/.local/bin/StreamingServiceLauncher.AppImage" + rm -f "$HOME/Applications/StreamingServiceLauncher.AppImage" + rm -f "$HOME/.local/bin/streaming-service-launcher" + # Download latest release + RELEASE_URL="https://api.github.com/repos/aarron-lee/StreamingServiceLauncher/releases/latest" + wget -q $(curl -s $RELEASE_URL | jq -r ".assets[] | select(.name | test(\".*AppImage\")) | .browser_download_url") \ + -O "$HOME/Applications/StreamingServiceLauncher.AppImage" + # Create launcher script + echo "#!/bin/bash" > "$HOME/.local/bin/streaming-service-launcher" + echo "\"$HOME/Applications/StreamingServiceLauncher.AppImage\" --appname=\$1 --no-sandbox" >> "$HOME/.local/bin/streaming-service-launcher" + # Make executables + chmod +x "$HOME/Applications/StreamingServiceLauncher.AppImage" + chmod +x "$HOME/.local/bin/streaming-service-launcher" + if [ ! -f "$HOME/Applications/StreamingServiceLauncher.AppImage" ]; then + echo "Installation failed" + exit 1 + fi + echo "Installation completed successfully" + } + # Check for StreamingServiceLauncher and install if needed + [ ! -f "$HOME/Applications/StreamingServiceLauncher.AppImage" ] && install_launcher + # Create scripts directory + mkdir -p "$HOME/Applications/streaming_scripts" # Display menu - echo -e "\n${bold}Select a web app to add to Steam:${normal}" - CHOICE=$(ugum choose "Xbox Cloud Gaming" "YouTube" "Amazon Luna" "Netflix" "Exit") - # Function to create webapp script and add to Steam - create_webapp() { - app_name="$1" - app_url="$2" - script_path="$default_path/$app_name.sh" - # Create the script - echo -e "#!/bin/bash\n/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=firefox org.mozilla.firefox --kiosk '$app_url'" > "$script_path" - # Make script executable + echo -e "\n${bold}Select a streaming service to add to Steam:${normal}" + CHOICE=$(ugum choose \ + "YouTube" \ + "Netflix" \ + "Amazon Luna" \ + "Disney Plus" \ + "Crunchyroll" \ + "Amazon Prime Video" \ + "Apple TV" \ + "Curiosity Stream" \ + "GeForce Now" \ + "HBO Max" \ + "Hulu" \ + "Paramount Plus" \ + "Peacock" \ + "Plex" \ + "Sling TV" \ + "Spotify" \ + "Vimeo" \ + "Xbox Cloud Gaming" \ + "YouTube Music" \ + "YouTube TV" \ + "Exit") + # Exit early if user chose to exit + [ "$CHOICE" = "Exit" ] && { echo "Exiting..."; exit 0; } + # Create webapp script and add to Steam + create_script() { + local script_path="$HOME/Applications/streaming_scripts/$1.sh" + echo "#!/bin/bash" > "$script_path" + echo "\"$HOME/.local/bin/streaming-service-launcher\" \"$2\"" >> "$script_path" chmod +x "$script_path" - # Add to Steam steamos-add-to-steam "$script_path" - echo -e "${bold}${app_name}${normal} successfully added to Steam! 🚀" + echo "Added $1 to Steam successfully!" } # Process user choice case "$CHOICE" in - "Xbox Cloud Gaming") - create_webapp "Xbox" "https://www.xbox.com/play" - ;; - "YouTube") - create_webapp "YouTube" "https://www.youtube.com" - ;; - "Amazon Luna") - create_webapp "Amazon_Luna" "https://www.amazon.com/luna" - ;; - "Netflix") - create_webapp "Netflix" "https://www.netflix.com" - ;; - "Exit") - echo -e "${bold}Exiting...${normal}" - exit 0 - ;; - *) - echo -e "${red}Invalid choice. Exiting.${normal}" - exit 1 - ;; + "YouTube") create_script "youtube" "youtube" ;; + "Netflix") create_script "netflix" "netflix" ;; + "Amazon Luna") create_script "amazon-luna" "amazonLuna" ;; + "Disney Plus") create_script "disney-plus" "disneyPlus" ;; + "Crunchyroll") create_script "crunchyroll" "crunchyroll" ;; + "Amazon Prime Video") create_script "prime-video" "amazonPrimeVideo" ;; + "Apple TV") create_script "apple-tv" "appleTv" ;; + "Curiosity Stream") create_script "curiosity-stream" "curiosityStream" ;; + "GeForce Now") create_script "geforce-now" "geForceNow" ;; + "HBO Max") create_script "hbo-max" "hboMax" ;; + "Hulu") create_script "hulu" "hulu" ;; + "Paramount Plus") create_script "paramount-plus" "paramountPlus" ;; + "Peacock") create_script "peacock" "peacock" ;; + "Plex") create_script "plex" "plex" ;; + "Sling TV") create_script "sling-tv" "slingTV" ;; + "Spotify") create_script "spotify" "spotify" ;; + "Vimeo") create_script "vimeo" "vimeo" ;; + "Xbox Cloud Gaming") create_script "xbox-cloud" "xboxGamePassStreaming" ;; + "YouTube Music") create_script "youtube-music" "youtubeMusic" ;; + "YouTube TV") create_script "youtube-tv" "youTubeTV" ;; + *) echo "Invalid choice" ; exit 1 ;; esac From c3aff806924582b2c3543c9062847544384727d5 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 20:30:07 -0500 Subject: [PATCH 07/11] feat: add options in exec, for maybe add to yafti? --- .../ublue-os/just/88-bazzite-webapps.just | 52 ++++++++++--------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index b087ff968c..312fe1b0f7 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -1,6 +1,6 @@ # vim: set ft=make : -get-webapp: +get-webapp service="": #!/usr/bin/bash # Load ugum for interactive menu source /usr/lib/ujust/ujust.sh @@ -35,29 +35,33 @@ get-webapp: # Create scripts directory mkdir -p "$HOME/Applications/streaming_scripts" # Display menu - echo -e "\n${bold}Select a streaming service to add to Steam:${normal}" - CHOICE=$(ugum choose \ - "YouTube" \ - "Netflix" \ - "Amazon Luna" \ - "Disney Plus" \ - "Crunchyroll" \ - "Amazon Prime Video" \ - "Apple TV" \ - "Curiosity Stream" \ - "GeForce Now" \ - "HBO Max" \ - "Hulu" \ - "Paramount Plus" \ - "Peacock" \ - "Plex" \ - "Sling TV" \ - "Spotify" \ - "Vimeo" \ - "Xbox Cloud Gaming" \ - "YouTube Music" \ - "YouTube TV" \ - "Exit") + if [ -n "{{service}}" ]; then + CHOICE="{{service}}" + else + echo -e "\n${bold}Select a streaming service to add to Steam:${normal}" + CHOICE=$(ugum choose \ + "YouTube" \ + "Netflix" \ + "Amazon Luna" \ + "Disney Plus" \ + "Crunchyroll" \ + "Amazon Prime Video" \ + "Apple TV" \ + "Curiosity Stream" \ + "GeForce Now" \ + "HBO Max" \ + "Hulu" \ + "Paramount Plus" \ + "Peacock" \ + "Plex" \ + "Sling TV" \ + "Spotify" \ + "Vimeo" \ + "Xbox Cloud Gaming" \ + "YouTube Music" \ + "YouTube TV" \ + "Exit") + fi # Exit early if user chose to exit [ "$CHOICE" = "Exit" ] && { echo "Exiting..."; exit 0; } # Create webapp script and add to Steam From af85a281666f1462d0174d7ea91715463df611fc Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 20:35:41 -0500 Subject: [PATCH 08/11] add media app installers to yafti for baz portal --- .../usr/share/ublue-os/firstboot/yafti.yml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index 632100aef0..0a3a7a0053 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -42,6 +42,30 @@ screens: default: false packages: - Install Resilio Sync: ujust install-resilio-sync + Media Apps: + description: Streaming services that can be added to Steam + default: false + packages: + - YouTube: ujust get-webapp "YouTube" + - Netflix: ujust get-webapp "Netflix" + - Amazon Luna: ujust get-webapp "Amazon Luna" + - Disney Plus: ujust get-webapp "Disney Plus" + - Crunchyroll: ujust get-webapp "Crunchyroll" + - Amazon Prime Video: ujust get-webapp "Amazon Prime Video" + - Apple TV: ujust get-webapp "Apple TV" + - Curiosity Stream: ujust get-webapp "Curiosity Stream" + - GeForce Now: ujust get-webapp "GeForce Now" + - HBO Max: ujust get-webapp "HBO Max" + - Hulu: ujust get-webapp "Hulu" + - Paramount Plus: ujust get-webapp "Paramount Plus" + - Peacock: ujust get-webapp "Peacock" + - Plex: ujust get-webapp "Plex" + - Sling TV: ujust get-webapp "Sling TV" + - Spotify: ujust get-webapp "Spotify" + - Vimeo: ujust get-webapp "Vimeo" + - Xbox Cloud Gaming: ujust get-webapp "Xbox Cloud Gaming" + - YouTube Music: ujust get-webapp "YouTube Music" + - YouTube TV: ujust get-webapp "YouTube TV" configure-bazzite: source: yafti.screen.package values: From 1a0b48323a0e76579c46785036f9c15fa648eb88 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 21:50:18 -0500 Subject: [PATCH 09/11] fix: rm plex and crunchyrole as webapps are meh --- .../deck/shared/usr/share/ublue-os/firstboot/yafti.yml | 2 -- .../shared/usr/share/ublue-os/just/88-bazzite-webapps.just | 4 ---- 2 files changed, 6 deletions(-) diff --git a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml index 0a3a7a0053..f3bf49fb3e 100644 --- a/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml +++ b/system_files/deck/shared/usr/share/ublue-os/firstboot/yafti.yml @@ -50,7 +50,6 @@ screens: - Netflix: ujust get-webapp "Netflix" - Amazon Luna: ujust get-webapp "Amazon Luna" - Disney Plus: ujust get-webapp "Disney Plus" - - Crunchyroll: ujust get-webapp "Crunchyroll" - Amazon Prime Video: ujust get-webapp "Amazon Prime Video" - Apple TV: ujust get-webapp "Apple TV" - Curiosity Stream: ujust get-webapp "Curiosity Stream" @@ -59,7 +58,6 @@ screens: - Hulu: ujust get-webapp "Hulu" - Paramount Plus: ujust get-webapp "Paramount Plus" - Peacock: ujust get-webapp "Peacock" - - Plex: ujust get-webapp "Plex" - Sling TV: ujust get-webapp "Sling TV" - Spotify: ujust get-webapp "Spotify" - Vimeo: ujust get-webapp "Vimeo" diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 312fe1b0f7..802052853c 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -44,7 +44,6 @@ get-webapp service="": "Netflix" \ "Amazon Luna" \ "Disney Plus" \ - "Crunchyroll" \ "Amazon Prime Video" \ "Apple TV" \ "Curiosity Stream" \ @@ -53,7 +52,6 @@ get-webapp service="": "Hulu" \ "Paramount Plus" \ "Peacock" \ - "Plex" \ "Sling TV" \ "Spotify" \ "Vimeo" \ @@ -79,7 +77,6 @@ get-webapp service="": "Netflix") create_script "netflix" "netflix" ;; "Amazon Luna") create_script "amazon-luna" "amazonLuna" ;; "Disney Plus") create_script "disney-plus" "disneyPlus" ;; - "Crunchyroll") create_script "crunchyroll" "crunchyroll" ;; "Amazon Prime Video") create_script "prime-video" "amazonPrimeVideo" ;; "Apple TV") create_script "apple-tv" "appleTv" ;; "Curiosity Stream") create_script "curiosity-stream" "curiosityStream" ;; @@ -88,7 +85,6 @@ get-webapp service="": "Hulu") create_script "hulu" "hulu" ;; "Paramount Plus") create_script "paramount-plus" "paramountPlus" ;; "Peacock") create_script "peacock" "peacock" ;; - "Plex") create_script "plex" "plex" ;; "Sling TV") create_script "sling-tv" "slingTV" ;; "Spotify") create_script "spotify" "spotify" ;; "Vimeo") create_script "vimeo" "vimeo" ;; From 3819f8dc1723a09629f797322aad118d2b31811d Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 22:17:19 -0500 Subject: [PATCH 10/11] chore: add desc, fix just syntax --- .../shared/usr/share/ublue-os/just/88-bazzite-webapps.just | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 802052853c..522d178718 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -1,5 +1,6 @@ # vim: set ft=make : +# Add various streaming service as electron webapps to Steam get-webapp service="": #!/usr/bin/bash # Load ugum for interactive menu @@ -35,8 +36,8 @@ get-webapp service="": # Create scripts directory mkdir -p "$HOME/Applications/streaming_scripts" # Display menu - if [ -n "{{service}}" ]; then - CHOICE="{{service}}" + if [ -n "{{ service }}" ]; then + CHOICE="{{ service }}" else echo -e "\n${bold}Select a streaming service to add to Steam:${normal}" CHOICE=$(ugum choose \ From 66f704445c09f175dd15368adabfab34fd496ae2 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Wed, 19 Feb 2025 22:21:20 -0500 Subject: [PATCH 11/11] fix: better description, syntax --- .../shared/usr/share/ublue-os/just/88-bazzite-webapps.just | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just index 522d178718..9907605338 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/88-bazzite-webapps.just @@ -1,6 +1,6 @@ # vim: set ft=make : -# Add various streaming service as electron webapps to Steam +# Add various streaming services as Electron web apps to Steam get-webapp service="": #!/usr/bin/bash # Load ugum for interactive menu