terminal/src/cascadia
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
..
CascadiaPackage Persist inbox conhost; delegate control activities to it via a pipe (#10415) 2021-06-16 19:23:37 +00:00
inc Add globalSummon action (#9854) 2021-04-28 17:13:28 -05:00
LocalTests_SettingsModel Bugfix: serialize iterable commands (#10373) 2021-06-10 18:25:27 +00:00
LocalTests_TerminalApp Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
PublicTerminalCore Exclude more rarely-used stuff from Windows headers (#8513) 2020-12-11 19:35:23 +00:00
Remoting Enable winrt::make<> detection (#10264) 2021-06-01 22:33:53 +00:00
ShellExtension Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
TerminalApp Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
TerminalAzBridge Update C++/WinRT to 2.0.210309.3 (#9437) 2021-03-10 16:04:59 -06:00
TerminalConnection Ignore closeOnExit when a conn. moves from Connecting to Failed (#10263) 2021-05-28 14:22:43 -05:00
TerminalControl Lock for writing in ControlCore::SetBackgroundOpacity (#10357) 2021-06-09 16:55:41 +00:00
TerminalCore Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
TerminalSettingsEditor Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
TerminalSettingsModel Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
UnitTests_Control Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
UnitTests_Remoting Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
UnitTests_TerminalCore Introduce til::rle - a run length encoded vector (#10099) 2021-05-20 17:27:50 +00:00
ut_app Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
WindowsTerminal Summon, not toggle visibility, window on command line dispatch (#10396) 2021-06-10 17:22:22 +00:00
WindowsTerminal_UIATests Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
WindowsTerminalUniversal Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
WinRTUtils Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
WpfTerminalControl [WPF] Allows setting the WPF control background when setting the terminal theme (#10026) 2021-05-04 21:18:25 +00:00
WpfTerminalTestNetCore Auto-format our XAML files and enforce in CI (#9589) 2021-03-29 17:09:38 -05:00
wt Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
CascadiaResources.build.items Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00