recycle-bin-themes icon indicating copy to clipboard operation
recycle-bin-themes copied to clipboard

Following instructions for the ps1 script as-is leads to security warnings

Open ggppjj opened this issue 2 years ago • 0 comments

Hello! I had to additionally unblock the ps1 file in the properties dialog in order to make it work, my executionpolicy is remotesigned but I think the default is restricted which could additionally cause issues for others. Possibly reworking the instructions to be something like what chocolatey's install script does, i.e. have the user paste in

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/sdushantha/recycle-bin-themes/main/RecycleBinThemes.ps1'))

as the only step needed to download and run?

ggppjj avatar Jun 01 '22 15:06 ggppjj