You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! First of: Thanks for putting in the work, really apprechiate it. I had the installer running fine from a "normal" PSSession but am experiencing issues when running it through DSC when using winget configure. It crashes because it can not retrieve $__PSProfileEnvCommandLineArgs. I found the affected lines (473/474) but am not quite understanding what you're trying to accomplish there. Can you shed some light for me or have an idear how to fix this?
Thanks ❤️
The text was updated successfully, but these errors were encountered:
It seems these lines are leftovers that were not transformed correctly. I've fixed this in commit 9fbd9d6. Can you try it again? Note that the PowerShell Gallery version was not updated yet.
What the lines are generally doing is that the selection menu shall not appear when running the Nerd Font installation from a non-interactive PowerShell session that usually runs as part of an unattended setup (like with winget configure). In that situation, the font name parameter no longer is optional, but is a mandatory parameter as otherwise, no unattended setup is possible. I think this makes sense :-)
I tried testing it and am now getting a PropertyNotFoundException: The property 'All' cannot be found on this object. Verify that the property exists.. In the meantime I wrote a 5 liner to do what I need. Its not as fancy but I guess it gets the job done. 🚀
Hey! First of: Thanks for putting in the work, really apprechiate it. I had the installer running fine from a "normal" PSSession but am experiencing issues when running it through DSC when using
winget configure
. It crashes because it can not retrieve$__PSProfileEnvCommandLineArgs
. I found the affected lines (473
/474
) but am not quite understanding what you're trying to accomplish there. Can you shed some light for me or have an idear how to fix this?Thanks ❤️
The text was updated successfully, but these errors were encountered: