Files
dotfiles/scripts/pshell/AddOpenTerminalHereContextMenu.txt

14 lines
616 B
Plaintext

1. install PowerShell 7
winget install --id Microsoft.Powershell --source winget
winget install --id Microsoft.Powershell.Preview --source winget
2. clone repo
git clone https://github.com/lextm/windowsterminal-shell.git
3. run script
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; .\install.ps1 mini
4. remove keys
HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\MenuTerminalAdminMin
HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\MenuTerminalAdminMin