Skip to content
Browse files

removed reinstall PowerShell script

  • Loading branch information...
1 parent 3f512f3 commit eaa0c4637ec5cf6ddeef2fba4d709e80858983f2 @Eskat0n committed Feb 16, 2012
Showing with 0 additions and 28 deletions.
  1. +0 −28 tools/reinstall.ps1
View
28 tools/reinstall.ps1
@@ -1,28 +0,0 @@
-$scriptName = "muyou.twitter.user.js"
-$extensions = "$env:AppData\..\Local\Google\Chrome\User Data\Default\Extensions"
-
-if ((Test-Path $extensions) -eq $true)
-{
- foreach ($ext in Get-Childitem $extensions)
- {
- foreach ($extVer in Get-Childitem $ext.fullname)
- {
- $manifest = $extVer.fullname + "\manifest.json"
- if ((Test-Path $manifest) -eq $true)
- {
- if ((Get-Content $manifest) -like "*$scriptName*")
- {
- $source = $scriptName
- $destination = $extVer.fullname + "\script.js"
- Copy-Item -Path $source -Destination $destination
-
- echo "UserJs script copied"
- }
- }
- }
- }
-}
-else
-{
- echo "Could not locate Google Chrome extensions directory"
-}

0 comments on commit eaa0c46

Please sign in to comment.
Something went wrong with that request. Please try again.