Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
sunsetting
Browse files Browse the repository at this point in the history
  • Loading branch information
t4rra committed Jan 14, 2024
1 parent 3c02012 commit 2474d25
Show file tree
Hide file tree
Showing 22 changed files with 127 additions and 1,174 deletions.
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/blankIssue.yaml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/ISSUE_TEMPLATE/bugreport.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
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."
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/featureRequest.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/autoRelease.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/powershell.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/stale.yml

This file was deleted.

29 changes: 29 additions & 0 deletions CCStopper.ps1
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
Loading

0 comments on commit 2474d25

Please sign in to comment.