I'm creating this to hopefully save someone else the headache I just had.
The linked lines bellow are part of a section of the readme where the user is asked to copy the vscode build tasks, but the arguments " –NonInteractive –ExecutionPolicy " that are part of the command line use the character – (charcode 8211) instead of the character - (charcode 45). That character breaks the command line and makes powershell spit out an error about file paths. Weirdly enough the other parameters are using the right - character, maybe it's an artifact of whatever shell the command was copied from.
I'm creating this to hopefully save someone else the headache I just had.
The linked lines bellow are part of a section of the readme where the user is asked to copy the vscode build tasks, but the arguments " –NonInteractive –ExecutionPolicy " that are part of the command line use the character – (charcode 8211) instead of the character - (charcode 45). That character breaks the command line and makes powershell spit out an error about file paths. Weirdly enough the other parameters are using the right - character, maybe it's an artifact of whatever shell the command was copied from.
https://github.com/X2CommunityCore/X2ModBuildCommon/blob/c7e3945067903304bf74599b763675ffecd43f79/README.md?plain=1#L147
https://github.com/X2CommunityCore/X2ModBuildCommon/blob/c7e3945067903304bf74599b763675ffecd43f79/README.md?plain=1#L154
https://github.com/X2CommunityCore/X2ModBuildCommon/blob/c7e3945067903304bf74599b763675ffecd43f79/README.md?plain=1#L161