Skip to content

Commit

Permalink
Add missing TerminalHelper script and terminateProcess.sh (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
zobo authored Apr 10, 2022
1 parent 84d7444 commit adccc49
Show file tree
Hide file tree
Showing 3 changed files with 235 additions and 76 deletions.
301 changes: 229 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"@types/xmldom": "^0.1.31",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"copyfiles": "^2.4.1",
"husky": "^7.0.4",
"mocha": "^9.2.0",
"nyc": "^15.1.0",
Expand Down Expand Up @@ -104,8 +105,9 @@
]
},
"scripts": {
"build": "tsc -p .",
"watch": "tsc -w -p .",
"build": "npm run copyfiles && tsc -p .",
"watch": "npm run copyfiles && tsc -w -p .",
"copyfiles": "copyfiles -u 1 src/TerminalHelper.scpt src/terminateProcess.sh out",
"start": "code testproject --extensionDevelopmentPath=.",
"test": "mocha",
"cover": "nyc mocha",
Expand Down Expand Up @@ -497,7 +499,7 @@
"category": "Debug"
}
],
"keybindings":[
"keybindings": [
{
"command": "php.debug.startWithStopOnEntry",
"key": "F10",
Expand Down
2 changes: 1 addition & 1 deletion src/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class MacTerminalService extends DefaultTerminalService {
// and then launches the program inside that window.

const osaArgs = [
Path.join(__dirname, './terminalHelper.scpt'),
Path.join(__dirname, './TerminalHelper.scpt'),
'-t',
MacTerminalService.TERMINAL_TITLE,
'-w',
Expand Down

0 comments on commit adccc49

Please sign in to comment.