Skip to content

Commit 955950d

Browse files
authored
Merge pull request #1515 from SteveL-MSFT/msix-update
Update Appx with improved display name and not have entries in Start Menu
2 parents ca38ef8 + 57905b6 commit 955950d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

helpers.build.psm1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ function Test-Clippy {
14751475
Set-DefaultWorkspaceMemberGroup @workspaceParams
14761476
}
14771477
}
1478-
1478+
14791479
process {
14801480
$clippyFlags = @(
14811481
'--%'
@@ -2092,7 +2092,7 @@ function Build-DscMsixPackage {
20922092
throw 'MSIX requires a specific architecture'
20932093
}
20942094

2095-
$displayName = 'DesiredStateConfiguration'
2095+
$displayName = 'Desired State Configuration'
20962096
$productName = 'DesiredStateConfiguration'
20972097

20982098
if ($isPreview) {
@@ -2117,10 +2117,10 @@ function Build-DscMsixPackage {
21172117
$productVersion = $productVersion -replace '(\d+)$', "$previewNumber.0"
21182118

21192119
if ($isPrivate) {
2120-
$displayName += "-Private"
2120+
$displayName += " (Private)"
21212121
}
21222122
else {
2123-
$displayName += "-Preview"
2123+
$displayName += " (Preview)"
21242124
}
21252125
} else {
21262126
# appx requires a version in the format of major.minor.build.revision with revision being 0

packaging/msix/AppxManifest.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</uap3:AppExecutionAlias>
3737
</uap3:Extension>
3838
</Extensions>
39-
<uap:VisualElements DisplayName="$DISPLAYNAME$" Description="DesiredStateConfiguration (DSC) enables a declarative model for configuration, also known as configuration as code." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
39+
<uap:VisualElements AppListEntry="none" DisplayName="$DISPLAYNAME$" Description="DesiredStateConfiguration (DSC) enables a declarative model for configuration, also known as configuration as code." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
4040
</uap:VisualElements>
4141
</Application>
4242
<Application Id="BicepExt" Executable="dsc-bicep-ext.exe" EntryPoint="Windows.FullTrustApplication">
@@ -47,7 +47,7 @@
4747
</uap3:AppExecutionAlias>
4848
</uap3:Extension>
4949
</Extensions>
50-
<uap:VisualElements DisplayName="DSC Bicep Extension" Description="gRPC server for Bicep extensibility with DSC." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
50+
<uap:VisualElements AppListEntry="none" DisplayName="DSC Bicep Extension" Description="gRPC server for Bicep extensibility with DSC." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
5151
</uap:VisualElements>
5252
</Application>
5353
<Application Id="Y2J" Executable="y2j.exe" EntryPoint="Windows.FullTrustApplication">
@@ -58,7 +58,7 @@
5858
</uap3:AppExecutionAlias>
5959
</uap3:Extension>
6060
</Extensions>
61-
<uap:VisualElements DisplayName="Yaml2Json" Description="Command-line tool to convert to/from YAML and JSON." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
61+
<uap:VisualElements AppListEntry="none" DisplayName="Yaml2Json" Description="Command-line tool to convert to/from YAML and JSON." BackgroundColor="transparent" Square150x150Logo="assets\Square150x150Logo.png" Square44x44Logo="assets\Square44x44Logo.png">
6262
</uap:VisualElements>
6363
</Application>
6464
</Applications>

0 commit comments

Comments
 (0)