Ash258 / Scoop-Core

Shovel. Alternative, more advanced, and user-friendly implementation of windows command-line installer scoop.

Home Page:https://shovel.ash258.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Defender blocking core.ps1, fix breaks ability to update

TobiTenno opened this issue · comments

commented
  • Branch: main
  • Powershell Version: 5.1.19041.1320

related to #216, but discussion there is closed.
on systems where one cannot add an exception for scoop/shovel (i.e. managed, corporate systems)

the fix described in #216 and ScoopInstaller#4097 work to fix it (removing Optimize-SecurityProtocol), however this causes scoop/shovel to be unable to update.

At C:\Users\USER\scoop\apps\scoop\current\lib\core.ps1:1 char:1
+ @(
+ ~~
This script contains malicious content and has been blocked by your antivirus software.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ScriptContainedMaliciousContent

coprorate/managed system where I'm unable to add exceptions for shovel in defender.

Use NEW branch or do not use Shovel when you are not allowed to use it.