-
-
Notifications
You must be signed in to change notification settings - Fork 940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Launch games under the correct user account on Windows #600
Launch games under the correct user account on Windows #600
Conversation
I believe that something may be wrong with path handling (but it applies to this PR and not #599). I tested with and without the complementary PR in case it helps to troubleshoot. Test case (3 created test applications)
Results:
In summary, this PR makes |
Looks like flatpak is failing to find boost now... not sure why: https://github.com/cgutman/LB_Sunshine/blob/d9107cdbfc5be261f50c5752badd3d209ccfcedc/packaging/linux/flatpak/dev.lizardbyte.sunshine.yml#L31 |
74886f8
to
83f1b99
Compare
OK, I think I've taken care of all the issues.
|
If you have any suggestions for changes to the |
Several users on the discord had tested this build and I don't recall any issues. We would likely get more testing if merged into nightly. |
This PR is not ready to merge. |
83f1b99
to
7b5af0e
Compare
…nning as a service on Windows
7b5af0e
to
128c9c9
Compare
Log file fixes:
These changes also fix the crash that we saw with UWP notepad.exe with the previous version of this PR. |
Awesome job! 👍 |
With the 17 release I can no longer launch an app on linux without sunshine core dumping:
|
Description
This implements a new
platf::run_unprivileged()
function that can be used (on Windows, currently) to launch a process as the active console user (including their environment variables).In order to make this work, I had to fix issues with the way we derive the working directory if one is not provided. That required adding a dependency on
libboost-program-options
forboost::program_options::split_unix()
to perform proper command-line parsing to retrieve the actual binary name.This could definitely use some testing since there are a ton of use cases to cover.
Screenshot
Issues Fixed or Closed
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.