mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
* pwsh: add context menu (explorer, file) * pwsh: fix regedit script line ending * pwsh: rename to powershell core, rewrite post_install script * change regedit path from powershell7 to powershellcore as a name Co-authored-by: Gitea <gitea@fake.local>
9 lines
425 B
Reg
9 lines
425 B
Reg
Windows Registry Editor Version 5.00
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\*\shell\PowerShellCore$pwshArch]
|
|
"Icon"="$pwshPath"
|
|
"MUIVerb"="Run with PowerShell Core"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\*\shell\PowerShellCore$pwshArch\Command]
|
|
@="$pwshPath -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell Core ($pwshArch)'; if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & '%1'\""
|