File tree 1 file changed +8
-1
lines changed
system_files/deck/shared/usr/share/ublue-os/just
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,14 @@ enable-deck-bios-firmware-updates:
356
356
#!/usr/bin/env bash
357
357
SYS_ID=" $(cat /sys/devices/virtual/dmi/id/product_name)"
358
358
if [[ " :Jupiter:" =~ " :$SYS_ID:" || " :Galileo:" =~ " :$SYS_ID:" ]]; then
359
- sudo systemctl enable jupiter-biosupdate.service
359
+ RESOLUTION=$(sudo lshw -json -c display | jq -r .[]." configuration" ." resolution" )
360
+ if [[ " ${RESOLUTION}" = " 1200,1920" ]]; then
361
+ echo " DeckHD detected. Firmware updates enabled. BIOS updates not enabled."
362
+ elif [[ " $(awk '/MemTotal/{print $(NF-1)}' /proc/meminfo)" == " 31664740" ]]; then
363
+ echo " 32GB RAM modded Deck detected. Firmware updates enabled. BIOS updates not enabled."
364
+ else
365
+ sudo systemctl enable jupiter-biosupdate.service
366
+ fi
360
367
sudo systemctl enable jupiter-controller-update.service
361
368
else
362
369
echo " This is only applicable to Valve's Steam Deck. Aborting..."
You can’t perform that action at this time.
0 commit comments