@@ -80,6 +80,12 @@ elseif ($Branch -eq "StorePreview")
8080 (Get-Content $_ - Raw | ForEach-Object - Process { $_ -replace " Assets\\AppTiles\\Dev" , " Assets\AppTiles\Preview" }) | `
8181 Set-Content $_ - NoNewline `
8282 }
83+
84+ Get-ChildItem $WorkingDir - Include * .cs, * .cpp - recurse | ForEach-Object - Process `
85+ { `
86+ (Get-Content $_ - Raw | ForEach-Object - Process { $_ -replace " files-dev" , " files-preview" }) | `
87+ Set-Content $_ - NoNewline `
88+ }
8389}
8490elseif ($Branch -eq " SideloadStable" )
8591{
@@ -121,8 +127,8 @@ elseif ($Branch -eq "StoreStable")
121127 $xmlDoc.Package.Capabilities.RemoveChild ($pm )
122128
123129 # Update app protocol and execution alias
124- $ap.SetAttribute (" Name" , " files" );
125- $aea .RemoveChild ( $aea .FirstChild ); # Avoid duplication
130+ $ap.SetAttribute (" Name" , " files-stable " );
131+ $ea .SetAttribute ( " Alias " , " files-stable.exe " );
126132
127133 # Save modified Package.appxmanifest
128134 $xmlDoc.Save ($PackageManifestPath )
@@ -135,7 +141,7 @@ elseif ($Branch -eq "StoreStable")
135141
136142 Get-ChildItem $WorkingDir - Include * .cs, * .cpp - recurse | ForEach-Object - Process `
137143 { `
138- (Get-Content $_ - Raw | ForEach-Object - Process { $_ -replace " files-dev" , " files" }) | `
144+ (Get-Content $_ - Raw | ForEach-Object - Process { $_ -replace " files-dev" , " files-stable " }) | `
139145 Set-Content $_ - NoNewline `
140146 }
141147}
0 commit comments