EthanBrown.ChromeDevExtensions 0.0.1
Includes Batarang Clear Cache DevTools AutoSave PageSpeed Insights Simple REST Client Speed Tracer CoffeeConsole YSlow Does Not Include CoffeeScript IDE - Requires login PostMan - Requires login LiveReload - Not necessary with grunt Grunt DevTools - Evaluating Tincr - Might be superceded by Chrome workspaces
This commit is contained in:
24
EthanBrown.ChromeDevExtensions/tools/chocolateyUninstall.ps1
Normal file
24
EthanBrown.ChromeDevExtensions/tools/chocolateyUninstall.ps1
Normal file
@@ -0,0 +1,24 @@
|
||||
$package = 'EthanBrown.ChromeDevExtensions'
|
||||
|
||||
try {
|
||||
|
||||
function Get-CurrentDirectory
|
||||
{
|
||||
$thisName = $MyInvocation.MyCommand.Name
|
||||
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
|
||||
}
|
||||
|
||||
. (Join-Path (Get-CurrentDirectory) 'ChromeHelpers.ps1')
|
||||
|
||||
Write-Host "Launching Chrome extensions page to remove extensions"
|
||||
|
||||
$chromePath = Get-ChromePath
|
||||
$chromeExe = Join-Path $chromePath 'Application\chrome.exe'
|
||||
$chromeParams = @('--new-window', 'chrome://extensions/')
|
||||
&$chromeExe @chromeParams
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user