Skip to content

Commit 3872c7a

Browse files
committed
Remove files alias
1 parent bd17ca1 commit 3872c7a

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

.github/scripts/Configure-AppxManifest.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ elseif ($Branch -eq "StoreStable")
127127
$xmlDoc.Package.Capabilities.RemoveChild($pm)
128128

129129
# Update app protocol and execution alias
130-
$ap.SetAttribute("Name", "files");
131-
$aea.RemoveChild($aea.FirstChild); # Avoid duplication
130+
$ap.SetAttribute("Name", "files-stable");
131+
$ea.SetAttribute("Alias", "files-stable.exe");
132132

133133
# Save modified Package.appxmanifest
134134
$xmlDoc.Save($PackageManifestPath)
@@ -141,7 +141,7 @@ elseif ($Branch -eq "StoreStable")
141141

142142
Get-ChildItem $WorkingDir -Include *.cs, *.cpp -recurse | ForEach-Object -Process `
143143
{ `
144-
(Get-Content $_ -Raw | ForEach-Object -Process { $_ -replace "files-dev", "files" }) | `
144+
(Get-Content $_ -Raw | ForEach-Object -Process { $_ -replace "files-dev", "files-stable" }) | `
145145
Set-Content $_ -NoNewline `
146146
}
147147
}

src/Files.App (Package)/Package.appxmanifest

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,25 +118,13 @@
118118
</uap3:AppExtensionHost>
119119
</uap3:Extension>
120120

121-
<uap:Extension Category="windows.protocol">
122-
<!-- This is kept for backward compatibility. -->
123-
<uap:Protocol ReturnResults="none" Name="files-uwp" />
124-
</uap:Extension>
125-
126-
<uap:Extension Category="windows.protocol">
127-
<!-- This is kept for backward compatibility. -->
128-
<uap:Protocol ReturnResults="none" Name="files" />
129-
</uap:Extension>
130-
131121
<uap:Extension Category="windows.protocol">
132122
<!-- This value changes based on the build branch by CI (files-stable, files-preview, files-dev). -->
133123
<uap:Protocol ReturnResults="none" Name="files-dev" />
134124
</uap:Extension>
135125

136126
<uap5:Extension Category="windows.appExecutionAlias">
137127
<uap5:AppExecutionAlias>
138-
<!-- This is kept for backward compatibility. -->
139-
<uap5:ExecutionAlias Alias="files.exe" />
140128
<!-- This value changes based on the build branch by CI (files-stable, files-preview, files-dev). -->
141129
<uap5:ExecutionAlias Alias="files-dev.exe" />
142130
</uap5:AppExecutionAlias>

0 commit comments

Comments
 (0)