Ship localized resources only for MSIX packages by daxian-dbw · Pull Request #27725 · PowerShell/PowerShell · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .pipelines/templates/windows-hosted-build.yml
4 changes: 2 additions & 2 deletions PowerShell.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@
<AppHostDotNetSearch>AppLocal</AppHostDotNetSearch>
</PropertyGroup>

<!-- Enable ready-to-run only for Release configuration -->
<PropertyGroup Condition=" '$(AppDeployment)' == 'SelfContained' And '$(Configuration)' == 'Release' ">
<!-- Enable ready-to-run only for Release configuration except for the min-size build -->
<PropertyGroup Condition=" '$(AppDeployment)' == 'SelfContained' And '$(Configuration)' == 'Release' And '$(ForMinimalSize)' != 'True' ">
<PublishReadyToRun>true</PublishReadyToRun>
<PublishReadyToRunEmitSymbols>true</PublishReadyToRunEmitSymbols>
</PropertyGroup>
Expand Down
15 changes: 14 additions & 1 deletion assets/AppxManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@
</Dependencies>

<Resources>
<Resource Language="en-us"/>
<Resource Language="en-US"/>
<Resource Language="cs"/>
<Resource Language="de"/>
<Resource Language="es"/>
<Resource Language="fr"/>
<Resource Language="it"/>
<Resource Language="ja"/>
<Resource Language="ko"/>
<Resource Language="pl"/>
<Resource Language="pt-BR"/>
<Resource Language="ru"/>
<Resource Language="tr"/>
<Resource Language="zh-Hans"/>
<Resource Language="zh-Hant"/>
</Resources>

<Applications>
Expand Down
30 changes: 24 additions & 6 deletions build.psm1
Loading
Loading