examples: Suffix package exe with .exe on Windows

Without this the vscode extension cannot find the example executable, and the example fails.

Also use $USERPROFILE instead of  $HOME for finding the `.vscode` user directory for installing the extension.

Bug: #12
This commit is contained in:
Ben Clayton
2020-01-17 18:59:05 +00:00
committed by Ben Clayton
parent cdc19ac4d9
commit 93b861004e
2 changed files with 9 additions and 2 deletions

View File

@@ -19,7 +19,7 @@
"debuggers": [
{
"type": "@target@",
"program": "@target@",
"program": "@target@@CPPDAP_OS_EXE_EXT@",
"label": "cppdap example: @target@",
"configurationAttributes": {}
}