This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
127 additions
and
1,174 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
blank_issues_enabled: false | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: "No New Issues Are Being Accepted" | ||
url: "https://github.com/eaaasun/CCStopper" | ||
about: "CCStopper is being sunset and will be archived on Mar. 31, 2024. Read the README for more information." |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Stops Adobe Processes and Services, source: https://gist.github.com/carcheky/530fd85ffff6719486038542a8b5b997#gistcomment-3586740 | ||
if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] 'Administrator')) { | ||
if ([int](Get-CimInstance -Class Win32_OperatingSystem | Select-Object -ExpandProperty BuildNumber) -ge 6000) { | ||
$CommandLine = "-File `"" + $MyInvocation.MyCommand.Path + "`" " + $MyInvocation.UnboundArguments | ||
Start-Process -FilePath PowerShell.exe -Verb Runas -ArgumentList $CommandLine | ||
Exit | ||
} | ||
} | ||
|
||
# Stop adobe services | ||
Get-Service -DisplayName Adobe* | Stop-Service | ||
|
||
# Stop adobe processes | ||
$Processes = @() | ||
Get-Process * | Where-Object { $_.CompanyName -match "Adobe" -or $_.Path -match "Adobe" } | ForEach-Object { | ||
$Processes += , $_ | ||
if ($_.mainWindowTitle.Length) { | ||
|
||
write-output "There are Adobe apps open! Save your work, then continue." | ||
pause | ||
} | ||
} | ||
|
||
Foreach ($Process in $Processes) { Stop-Process $Process -Force } | ||
|
||
write-output "" | ||
write-output "Adobe processes stopped." | ||
pause | ||
exit |
Oops, something went wrong.