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:
20
Brackets.Theseus/tools/chocolateyInstall.ps1
Normal file
20
Brackets.Theseus/tools/chocolateyInstall.ps1
Normal 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
|
||||
}
|
13
Brackets.Theseus/tools/chocolateyUninstall.ps1
Normal file
13
Brackets.Theseus/tools/chocolateyUninstall.ps1
Normal 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
|
||||
}
|
Reference in New Issue
Block a user