There was an error while loading. Please reload this page.
1 parent 9f35bae commit ad8e880Copy full SHA for ad8e880
1 file changed
scripts/package-appx.mjs
@@ -67,15 +67,15 @@ async function addProtocolHandlerToManifest( manifestPath ) {
67
const manifestContent = await fs.readFile( manifestPath, 'utf-8' );
68
69
// Check if protocol handler already exists
70
- if ( manifestContent.includes( 'wpcom-local-dev' ) ) {
+ if ( manifestContent.includes( 'wp-studio' ) ) {
71
console.log( '~~~ Protocol handler already exists, skipping...' );
72
return;
73
}
74
75
// Insert the protocol handler extension before </Application>
76
const protocolExtension = ` <Extensions>
77
<uap:Extension Category="windows.protocol">
78
- <uap:Protocol Name="wpcom-local-dev">
+ <uap:Protocol Name="wp-studio">
79
<uap:DisplayName>WordPress.com Local Dev Protocol</uap:DisplayName>
80
</uap:Protocol>
81
</uap:Extension>
0 commit comments