Skip to content
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

Fix check for GUI apps and don't wait for GUI apps to complete #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

lymanepp
Copy link

I did some code refactoring and cleanup along with fixing the check for GUI apps and not waiting for GUI apps to complete. I also made the shim reader more flexible by making the spaces around the equal signs optional and not requiring a final linefeed character.

Don't wait for GUI apps to complete
Don't need to combine shim app name with command line parameters
Resharper cleanup
Added makefile as example for building
Building with /MD option (msvcrt.dll) makes for much smaller shim.exe (12 KB vs 113 KB)
@71
Copy link
Owner

71 commented Aug 1, 2023

Hey there, and thanks for the fix! I haven't really had time to review it, especially since the file is very different now (and uses a different code style), but still have this task on my todo list.

@lymanepp
Copy link
Author

lymanepp commented Aug 1, 2023

Hey there, and thanks for the fix! I haven't really had time to review it, especially since the file is very different now (and uses a different code style), but still have this task on my todo list.

If you approve of the gist of these changes, I can rework it to be less different if you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants