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(shim): Fix shim when app path has white spaces #4734

Merged
merged 3 commits into from
Feb 26, 2022
Merged

Conversation

niheaven
Copy link
Member

Description

Enclose app path with double quotes to fix bug while app path has white spaces.

Motivation and Context

Closes #4728

How Has This Been Tested?

Only occurred in exe shims, hard to test.

Checklist:

  • I have read the Contributing Guide.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@rashil2000
Copy link
Member

I think we should wait for more people to test this. I have used multiple custom shims with whitespaces, and they work.

@niheaven niheaven added the waiting feedback Waiting for user feedback label Feb 11, 2022
@jbtls
Copy link

jbtls commented Feb 25, 2022

Hey @rashil2000 how can i test it?

@rashil2000
Copy link
Member

Simpler method would be:

scoop config SCOOP_BRANCH fix-shim
scoop update

@jbtls
Copy link

jbtls commented Feb 25, 2022

Tested it with some shims. Seems to work good.

@niheaven
Copy link
Member Author

@rashil2000 Does this break something?

@rashil2000
Copy link
Member

I don't think so, but I have been unable to reproduce the original issue for a long time.

My $Env:SCOOP points to 'E:\Scoop Stuff' and all my shims work 😢

@niheaven
Copy link
Member Author

Aha, I could not reproduce, too... Maybe some Env setting or OS version related?

If it is harmless for other code or users, merging this tends to be not a bad choice.

Copy link
Member

@rashil2000 rashil2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, let's fix later if it breaks anything

@rashil2000
Copy link
Member

Are we making a release?

@niheaven
Copy link
Member Author

Yes, after merging this, I'll make a release.

@niheaven niheaven merged commit 9024ee4 into develop Feb 26, 2022
@niheaven niheaven deleted the fix-shim branch February 26, 2022 14:52
se35710 pushed a commit to se35710/scoop that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting feedback Waiting for user feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants