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

Get-WGPackage fails with space in profile path #11

Open
jdhitsolutions opened this issue Sep 20, 2022 · 0 comments
Open

Get-WGPackage fails with space in profile path #11

jdhitsolutions opened this issue Sep 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jdhitsolutions
Copy link
Owner

Hello!

Get-WGPackage did only work for me with these modifications in line 53-54 in the Get-WGpackage.ps1 script, because my profile path has a space:

$winget = "'" + (Get-WGPath | out-string).Trim() + "'"
$cmdText = "& "
$cmdText += "$winget show --source $source"

Originally posted by @SebCT in #10 (comment)

@jdhitsolutions jdhitsolutions added the bug Something isn't working label Sep 20, 2022
@jdhitsolutions jdhitsolutions self-assigned this Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant