Built-in updater
sudo /opt/lgpowercontrol/update.shCompares the installed version with the latest GitHub release and offers to download and install it. Settings carry over, and the TV pairing now survives reinstalls and updates — no more re-pairing with the remote. Uses curl or wget, whichever is present.
Other changes
- The dispatcher logs "System going to sleep" / "System woke up" again (lost in the v2.5 redesign).
- Turning the TV on is serialized with a lock, so a resume no longer produces duplicate wake attempts and log lines (v2.5.1).
- Comment cleanup across scripts; README updated for the v2.5 wake design.
Upgrade from v2.5.x by re-running sudo ./install.sh from a pulled checkout — this is the last time; from here on update.sh does it.
Full changelog: v2.5.1...v2.6