Skip to content

Conversation

@pmabbott
Copy link

@pmabbott pmabbott commented Mar 25, 2023

Fixes an issue where the created script loses the newlines from the original. Weirdly I only see this issue on some devices and not others - however, .AppendLines() gives correct (or at least executable) output every time.

It may be the case that line 189 should be $Script.ToString().Split("`r`n") | not $Script.ToString().Split("`n") | to match (commented out) line 126 ... but this pull request includes the change I've made that makes the script work for me.

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.

1 participant