Skip to content

Adding ability to revert resolution on Shut Down command #95

@stvsu

Description

@stvsu

Frequently using Moonlight/Sunshine to remote into my PC. This script works amazing and perfect in all scenarios but one: initiating a system shutdown through Moonlight.

I believe the shutdown prevents the script from running to "revert" back to my default resolution. I'm assuming Sunshine doesn't receive the "exit" from the Moonlight client before the PC shuts off.

This causes the PC on bootup to be at the resolution the Moonlight client set, rather than my preferred/default.

Is there any way to account for this in the script? Wondering if some logic can run on system bootup that would revert to "preferredResolution" in the config every time the system boots up, which would at least always revert to the correct default.

Curious your thoughts - thanks for building & maintaining this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions