Codectory / AutoActions

Application-based actions to change Windows settings ( display, audio) or run any program or action
GNU General Public License v3.0
475 stars 18 forks source link

UWP Apps that use Launchers do not work #116

Open trankillity opened 2 years ago

trankillity commented 2 years ago

Describe the bug There are quite a few apps that use launcher apps as an intermediary before launching the actual executable. For non-UWP apps, you can often get around this by finding the actual/specific executable that gets launched. However this poses a real problem for UWP applications, as you can't target the actual executable.

Some example apps:

To Reproduce

  1. Add one of the aforementioned apps
  2. Select the HDR profile
  3. Start the app
  4. HDR will be enabled when the launcher app starts, then disabled again when the true app starts

Expected behavior Honestly, this is kind of expected - as it's doing exactly as it should. Launching in HDR for that app (just the launcher) then turning HDR off. The desired behaviour is for HDR to work for the actual game executable, not the launcher.

Desktop (please complete the following information):

Hardware (please complete the following information):

Additional context Potential suggested solution - add a third App selection option (aside from "Choose application"/"Choose UWP app...") called something like "Choose open process" that would allow the user to capture the window process name to allow AutoActions to execute for these troublesome processes.

cgassmann commented 2 years ago

See also https://github.com/Codectory/AutoActions/issues/71.