mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 06:11:20 +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>
42 lines
1.9 KiB
Reg
42 lines
1.9 KiB
Reg
Windows Registry Editor Version 5.00
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\PowerShellCore$pwshArch]
|
|
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShellCore$pwshArch"
|
|
"MUIVerb"="&PowerShell Core"
|
|
"Icon"="$pwshPath"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Drive\shell\PowerShellCore$pwshArch]
|
|
"MUIVerb"="&PowerShell Core"
|
|
"Icon"="$pwshPath"
|
|
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShellCore$pwshArch"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\DesktopBackground\Shell\PowerShellCore$pwshArch]
|
|
"MUIVerb"="&PowerShell Core"
|
|
"Icon"="$pwshPath"
|
|
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShellCore$pwshArch"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Directory\shell\PowerShellCore$pwshArch]
|
|
"MUIVerb"="&PowerShell Core"
|
|
"Icon"="$pwshPath"
|
|
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShellCore$pwshArch"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\LibraryFolder\background\shell\PowerShellCore$pwshArch]
|
|
"MUIVerb"="&PowerShell Core"
|
|
"Icon"="$pwshPath"
|
|
"ExtendedSubCommandsKey"="Directory\\ContextMenus\\PowerShellCore$pwshArch"
|
|
|
|
[HKEY_CLASSES_ROOT\Directory\ContextMenus\PowerShellCore$pwshArch\shell\openpwsh]
|
|
"MUIVerb"="Open &here"
|
|
"Icon"="$pwshPath"
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Directory\ContextMenus\PowerShellCore$pwshArch\shell\openpwsh\command]
|
|
@="$pwshPath -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell Core ($pwshArch)'\""
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Directory\ContextMenus\PowerShellCore$pwshArch\shell\runas]
|
|
"MUIVerb"="Open here as &Administrator"
|
|
"Icon"="$pwshPath"
|
|
"HasLUAShield"=""
|
|
|
|
[HKEY_CURRENT_USER\Software\Classes\Directory\ContextMenus\PowerShellCore$pwshArch\shell\runas\command]
|
|
@="$pwshPath -NoExit -RemoveWorkingDirectoryTrailingCharacter -WorkingDirectory \"%V!\" -Command \"$host.UI.RawUI.WindowTitle = 'PowerShell Core ($pwshArch)'\""
|