Skip to content

1.8.1

Compare
Choose a tag to compare
@dhleong dhleong released this 09 Mar 23:01
· 31 commits to main since this release

Enhancements:

  • Attempt to automatically request root privileges, then drop asap (see Notes)

Bug Fixes:

  • If a user is auth'd but has not entered the pin-code, ps4-waker will get into a weird state (#113)

Notes:

  • Refactored CLI code (#108, #114). This shouldn't matter for most users, but ought to simplify future development. It also helped to resolve a bug (see above)
  • I've seen many users run into issues using ps4-waker with sudo on a raspberry pi. Automatically relaunching with sudo seems weird and may be an antipattern, but it allows us to automatically de-escalate privileges and ensure that the credentials file is created in the expected location and with the expected permissions. I'm hoping that nobody in the future will have to manually mess with sudo, and that the number of issues created as a result of that will go to zero. I've tried to be very transparent in how we invoke sudo as well, and especially suspicious people can just ctrl-c out of it, or use --failfast to avoid it.
  • 1.8.1 just removes a spurious console.log. Derp.