Skip to content

Commit ad8e880

Browse files
authored
Update protocol handler name in appx packaging script from 'wpcom-local-dev' to 'wp-studio' (#2040)
1 parent 9f35bae commit ad8e880

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/package-appx.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ async function addProtocolHandlerToManifest( manifestPath ) {
6767
const manifestContent = await fs.readFile( manifestPath, 'utf-8' );
6868

6969
// Check if protocol handler already exists
70-
if ( manifestContent.includes( 'wpcom-local-dev' ) ) {
70+
if ( manifestContent.includes( 'wp-studio' ) ) {
7171
console.log( '~~~ Protocol handler already exists, skipping...' );
7272
return;
7373
}
7474

7575
// Insert the protocol handler extension before </Application>
7676
const protocolExtension = ` <Extensions>
7777
<uap:Extension Category="windows.protocol">
78-
<uap:Protocol Name="wpcom-local-dev">
78+
<uap:Protocol Name="wp-studio">
7979
<uap:DisplayName>WordPress.com Local Dev Protocol</uap:DisplayName>
8080
</uap:Protocol>
8181
</uap:Extension>

0 commit comments

Comments
 (0)