File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 207207 <RegistryValue Type =" string" Name =" Icon" Value =" [$(var.ProductDirectoryName)]$(env.IconPath)" />
208208 </RegistryKey >
209209 <RegistryKey Root =" HKCR" Key =" Directory\ContextMenus\$(var.ProductName)$(var.SimpleProductVersion)$(sys.BUILDARCH)\shell\openpwsh\command" >
210- <RegistryValue Type =" string" Value =" [$(var.ProductDirectoryName)]pwsh.exe -NoExit -WorkingDirectory " %V" " />
210+ <RegistryValue Type =" string" Value =" [$(var.ProductDirectoryName)]pwsh.exe -NoExit -WorkingDirectory " %V" -Command " $host.UI.RawUI.WindowTitle = '$(var.ProductName) $(var.SimpleProductVersion) ($(sys.BUILDARCH))' " " />
211211 </RegistryKey >
212212 <RegistryKey Root =" HKCR" Key =" Directory\ContextMenus\$(var.ProductName)$(var.SimpleProductVersion)$(sys.BUILDARCH)\shell\runas" >
213213 <RegistryValue Type =" string" Name =" MUIVerb" Value =" $(var.ExplorerContextSubMenuElevatedDialogText)" />
214214 <RegistryValue Type =" string" Name =" Icon" Value =" [$(var.ProductDirectoryName)]$(env.IconPath)" />
215215 <RegistryValue Type =" string" Value =" " Name =" HasLUAShield" />
216216 </RegistryKey >
217217 <RegistryKey Root =" HKCR" Key =" Directory\ContextMenus\$(var.ProductName)$(var.SimpleProductVersion)$(sys.BUILDARCH)\shell\runas\command" >
218- <RegistryValue Type =" string" Value =" [$(var.ProductDirectoryName)]pwsh.exe -NoExit -WorkingDirectory " %V" " />
218+ <RegistryValue Type =" string" Value =" [$(var.ProductDirectoryName)]pwsh.exe -NoExit -WorkingDirectory " %V" -Command " $host.UI.RawUI.WindowTitle = '$(var.ProductName) $(var.SimpleProductVersion) ($(sys.BUILDARCH))' " " />
219219 </RegistryKey >
220220 </Component >
221221 </Directory >
You can’t perform that action at this time.
0 commit comments