Skip to content

Commit 7c6b06c

Browse files
committed
fix: build script
1 parent 70f85ff commit 7c6b06c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Packaging/Build.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,14 @@ if ($Mode -eq "Canary") {
154154
$app.VisualElements.DisplayName = $app.VisualElements.DisplayName + " (Canary)"
155155
}
156156

157-
# 修改 CLI Alias: mcm.exe -> mcmc.exe
158-
$aliasNode = $app.SelectSingleNode(".//desktop:ExecutionAlias", $ns)
159-
if ($aliasNode) {
157+
if ($app.Id -eq "CliTool") {
158+
$aliasNode = $app.SelectSingleNode(".//desktop:ExecutionAlias", $ns)
160159
$aliasNode.Alias = "mcmc.exe"
161160
}
161+
if ($app.Id -eq "MuConvert") {
162+
$aliasNode = $app.SelectSingleNode(".//desktop:ExecutionAlias", $ns)
163+
$aliasNode.Alias = "MuConvertCanary.exe"
164+
}
162165
}
163166

164167
$xml.Save($ManifestPath)

0 commit comments

Comments
 (0)