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

Commit

Permalink
remove icon remover
Browse files Browse the repository at this point in the history
  • Loading branch information
t4rra committed Jul 8, 2023
1 parent 76d25c2 commit 9f4dad1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions runFromWeb/Downloader.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,9 @@ elseif ($shortcut) {
$folderPath = "$env:ProgramFiles\CCStopper"
# check if shortcut exists
if (Test-Path -Path "$env:USERPROFILE\Desktop\CCStopper (Online).lnk") {
Write-Host "Shortcut already exists! Would you like to delete it?"
$response = Read-Host "Y/N"
if ($response -eq "Y") {
Write-Host "Deleting shortcut..."
Remove-Item -Path "$env:USERPROFILE\Desktop\CCStopper (Online).lnk" -Force
Write-Host "Deleted shortcut! Goodbye!"
pause
exit
}
else {
exit
}
Write-Host "Shortcut already exists!"
Pause
exit
}
else {
CreateShortcut -targetPath "powershell.exe" -arguement "-command ""irm https://ccstopper.netlify.app/run | iex""" -shortcutPath "$env:USERPROFILE\Desktop\CCStopper (Online).lnk" -iconPath "$folderPath\icon.ico"
Expand Down

0 comments on commit 9f4dad1

Please sign in to comment.