@@ -966,6 +966,18 @@ Available commands:
966966 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0
967967 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,2]=0
968968 aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,10]=0
969+ #------------------
970+ software_id=208
971+ aSOFTWARE_NAME[$software_id]='Sunshine'
972+ aSOFTWARE_DESC[$software_id]='Self-hosted game stream host for Moonlight'
973+ aSOFTWARE_CATX[$software_id]=5
974+ aSOFTWARE_DOCS[$software_id]='https://dietpi.com/docs/software/gaming/#sunshine'
975+ # ARM64 and AMD64 only
976+ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,1]=0
977+ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,2]=0
978+ aSOFTWARE_AVAIL_G_HW_ARCH[$software_id,11]=0
979+ # Bullseye only
980+ (( $G_DISTRO == 6 )) || aSOFTWARE_AVAIL_G_DISTRO[$software_id,$G_DISTRO]=0
969981
970982 # Social & Search
971983 #--------------------------------------------------------------------------------
@@ -11124,6 +11136,16 @@ _EOF_
1112411136 modprobe binfmt_misc 2> /dev/null && G_EXEC systemctl restart systemd-binfmt
1112511137 fi
1112611138
11139+ if To_Install 208 # Sunshine
11140+ then
11141+ case $G_HW_ARCH in
11142+ 3) local arch='arm64';;
11143+ 10) local arch='amd64';;
11144+ *) G_WHIP_MSG "[FAILED] Wrong Arch";;
11145+ esac
11146+ Download_Install "https://github.com/LizardByte/Sunshine/releases/download/v0.19.1/sunshine-debian-${G_DISTRO_NAME}-${arch}.deb"
11147+ fi
11148+
1112711149 if To_Install 27 # TasmoAdmin
1112811150 then
1112911151 # Install required PHP modules
@@ -12743,6 +12765,11 @@ If no WireGuard (auto)start is included, but you require it, please do the follo
1274312765 [[ -d '/usr/lib/x86_64-linux-gnu' ]] && G_EXEC rmdir --ignore-fail-on-non-empty /usr/lib/x86_64-linux-gnu
1274412766 fi
1274512767
12768+ if To_Uninstall 208 # Sunshine
12769+ then
12770+ G_AGP sunshine
12771+ fi
12772+
1274612773 if To_Uninstall 119 # CAVA
1274712774 then
1274812775 G_AGP cava
0 commit comments