feat(Brackets.Theseus): Initial release 0.2.8

- Debugger for Node.js and Brackets!
 - https://github.com/adobe-research/theseus
This commit is contained in:
Iristyle
2013-05-27 20:31:10 -04:00
parent 10489b73c1
commit 881f398cb1
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
$package = 'Brackets.Theseus'
try {
npm install -g node-theseus@0.0.7
$params = @{
PackageName = $package;
FileType = 'zip';
Url = 'https://s3.amazonaws.com/theseus-downloads/theseus-0.2.8.zip';
UnzipLocation = Join-Path $Env:APPDATA 'Brackets\extensions\user';
}
Install-ChocolateyZipPackage @params
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}

View File

@@ -0,0 +1,13 @@
$package = 'Brackets.Theseus'
try {
$installPath = Join-Path $Env:APPDATA 'Brackets\extensions\user\brackets-theseus'
Remove-Item $installPath -Recurse -ErrorAction SilentlyContinue
npm uninstall -g node-theseus@0.0.7
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}