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

Strange character in readme #63

Open
Sentenryu opened this issue Oct 30, 2021 · 0 comments
Open

Strange character in readme #63

Sentenryu opened this issue Oct 30, 2021 · 0 comments
Assignees

Comments

@Sentenryu
Copy link

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.

"command": "powershell.exe –NonInteractive –ExecutionPolicy Unrestricted -file '${workspaceRoot}\\.scripts\\build.ps1' -srcDirectory '${workspaceRoot}' -sdkPath '${config:xcom.highlander.sdkroot}' -gamePath '${config:xcom.highlander.gameroot}' -config 'default'",

"command": "powershell.exe –NonInteractive –ExecutionPolicy Unrestricted -file '${workspaceRoot}\\.scripts\\build.ps1' -srcDirectory '${workspaceRoot}' -sdkPath '${config:xcom.highlander.sdkroot}' -gamePath '${config:xcom.highlander.gameroot}' -config 'debug'",

"command": "powershell.exe –NonInteractive –ExecutionPolicy Unrestricted -file '${workspaceRoot}\\.scripts\\clean.ps1' -modName 'MY_MOD_NAME' -srcDirectory '${workspaceRoot}' -sdkPath '${config:xcom.highlander.sdkroot}' -gamePath '${config:xcom.highlander.gameroot}'",

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

No branches or pull requests

2 participants