Skip to content

Commit 623ef9b

Browse files
Update pages/registry/index.html
Co-authored-by: Copilot <[email protected]>
1 parent 42fef1d commit 623ef9b

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

pages/registry/index.html

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,19 +2076,21 @@ <h3>Raw Manifest:</h3>
20762076
serverContent.appendChild(meta);
20772077

20782078
// Add install button with click function for deeplink
2079-
const installButton = document.createElement('button');
2080-
installButton.className = 'install-button';
2081-
installButton.type = 'button';
2082-
2083-
// Add download icon
2084-
installButton.innerHTML = `
2085-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2086-
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
2087-
<polyline points="7 10 12 15 17 10"></polyline>
2088-
<line x1="12" y1="15" x2="12" y2="3"></line>
2089-
</svg>
2090-
Install
2091-
`;
2079+
if (isLucien) {
2080+
const installButton = document.createElement('button');
2081+
installButton.className = 'install-button';
2082+
installButton.type = 'button';
2083+
2084+
// Add download icon
2085+
installButton.innerHTML = `
2086+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
2087+
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
2088+
<polyline points="7 10 12 15 17 10"></polyline>
2089+
<line x1="12" y1="15" x2="12" y2="3"></line>
2090+
</svg>
2091+
Install
2092+
`;
2093+
}
20922094

20932095
// Handle click event to build search params and trigger deeplink
20942096
installButton.addEventListener('click', (event) => {

0 commit comments

Comments
 (0)