terminal/src/cascadia/ShellExtension
Leonard Hecker 1ae6e3b772
Fix crash when unpackaged due to PrimaryLanguageOverride (#10434)
## Summary of the Pull Request

`ApplicationLanguages::PrimaryLanguageOverride` requires packaged activation.
This PR prevents any such application crashes, by skipping any calls to `PrimaryLanguageOverride`, as well as hiding the language selector in the settings UI.

## PR Checklist
* [x] I work here
* [x] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.

## Validation Steps Performed

When WT is run unpackaged:
* Doesn't crash during start ✔️
* SUI doesn't show the language selector ✔️
2021-06-16 21:08:14 +00:00
..
dllmain.cpp Shell Extension: Remove C++/WinRT authoring dependency (#9525) 2021-03-17 21:52:32 +00:00
OpenTerminalHere.cpp Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
OpenTerminalHere.h Disambiguate the shell extension CLSIDs to allow usage SXS (#9510) 2021-03-17 20:32:45 +00:00
packages.config Update C++/WinRT to 2.0.210309.3 (#9437) 2021-03-10 16:04:59 -06:00
pch.cpp Add a context menu entry to "Open Windows Terminal here" (#6100) 2020-05-28 15:42:13 +00:00
pch.h Exclude more rarely-used stuff from Windows headers (#8513) 2020-12-11 19:35:23 +00:00
WindowsTerminalShellExt.def Shell Extension: Remove C++/WinRT authoring dependency (#9525) 2021-03-17 21:52:32 +00:00
WindowsTerminalShellExt.vcxproj Move Branding into common props (#9668) 2021-03-30 18:08:53 -05:00