@@ -58,7 +58,13 @@ export function DownloadsSection() {
5858 const macSize = latestRelease ? getTargetAssetSize ( latestRelease . assets , ".dmg" ) : "9.8 MB" ;
5959
6060 const handleCopyCommand = ( ) => {
61- navigator . clipboard . writeText ( "brew install --cask --no-quarantine devian-labs/tap/devian-desktop" ) ;
61+ navigator . clipboard . writeText (
62+ [
63+ "brew tap devian-labs/tap" ,
64+ "brew install --cask devian-desktop" ,
65+ "xattr -dr com.apple.quarantine /Applications/Devian\\ Desktop.app" ,
66+ ] . join ( "\n" ) ,
67+ ) ;
6268 setCopied ( true ) ;
6369 if ( typeof window !== 'undefined' && window . gtag ) {
6470 window . gtag ( "event" , "copy_brew_command" , {
@@ -109,22 +115,34 @@ export function DownloadsSection() {
109115 </ button >
110116 </ div >
111117 < div className = "p-5 md:p-6 overflow-x-auto hide-scrollbar flex w-full" >
112- < code className = "text-sm md:text-base font-mono text-[#4ADE80] whitespace-nowrap flex items-center w-full pr-4" >
113- < span className = "text-white/30 mr-3 flex-shrink-0" > $</ span >
114- brew install --cask --no-quarantine devian-labs/tap/devian-desktop
118+ < code className = "text-sm md:text-base font-mono text-[#4ADE80] whitespace-pre text-left w-full pr-4" >
119+ < span className = "text-white/30 mr-3" > $</ span >
120+ { "brew tap devian-labs/tap" }
121+ { "\n$ " }
122+ { "brew install --cask devian-desktop" }
123+ { "\n\n# If macOS blocks the app" }
124+ { "\n$ " }
125+ { "xattr -dr com.apple.quarantine /Applications/Devian\\ Desktop.app" }
115126 </ code >
116127 </ div >
117128 </ div >
118129
119- < div className = "flex items-center gap-4 w-full max-w-2xl" >
130+ < div className = "flex items-center gap-4 w-full max-w-2xl mt-8 " >
120131 < div className = "h-px bg-white/10 flex-1" > </ div >
121132 < span className = "text-xs text-white/40 font-medium tracking-widest uppercase" > Or Download Directly</ span >
122133 < div className = "h-px bg-white/10 flex-1" > </ div >
123134 </ div >
124135
125136 < div className = "flex flex-col md:flex-row flex-wrap items-center justify-center gap-4 md:gap-6 w-full max-w-2xl mx-auto" >
126137 { /* macOS */ }
127- < a href = { macLink || "#" } download = { ! ! macLink } onClick = { ( ) => { if ( macLink ) trackDownload ( latestRelease ?. tag_name || `v${ pkgData . version } ` , 'latest' ) ; } } className = { `bg-white hover:bg-white/90 text-black p-5 md:p-8 rounded-[24px] md:rounded-[32px] flex items-center justify-center gap-4 md:gap-6 transition-all group flex-1 w-full sm:min-w-[300px] ${ macLink ? "cursor-pointer shadow-[0_0_40px_rgba(255,255,255,0.1)] hover:shadow-[0_0_60px_rgba(255,255,255,0.2)] hover:scale-[1.02]" : "opacity-50 grayscale cursor-not-allowed" } ` } >
138+ < a
139+ href = { macLink || "#" }
140+ download = { ! ! macLink }
141+ onClick = { ( ) => {
142+ if ( macLink ) trackDownload ( latestRelease ?. tag_name || `v${ pkgData . version } ` , 'latest' ) ;
143+ } }
144+ className = { `bg-white hover:bg-white/90 text-black p-5 md:p-8 rounded-[24px] md:rounded-[32px] flex items-center justify-center gap-4 md:gap-6 transition-all group flex-1 w-full sm:min-w-[300px] ${ macLink ? "cursor-pointer shadow-[0_0_40px_rgba(255,255,255,0.1)] hover:shadow-[0_0_60px_rgba(255,255,255,0.2)] hover:scale-[1.02]" : "opacity-50 grayscale cursor-not-allowed" } ` }
145+ >
128146 < div className = "h-10 w-10 md:h-16 md:w-16 bg-[#F5F5F7] rounded-xl md:rounded-2xl flex items-center justify-center shadow-inner shrink-0" >
129147 < AppleLogo className = "h-5 w-5 md:h-8 md:w-8 text-black" />
130148 </ div >
@@ -136,6 +154,12 @@ export function DownloadsSection() {
136154 </ a >
137155 </ div >
138156
157+ < p className = "mt-4 text-xs md:text-sm text-white/60 text-left md:text-center max-w-2xl" >
158+ If macOS blocks Devian Desktop, it's because the app is not yet
159+ notarized with Apple. This will be resolved soon. Until then,
160+ you can run the command above to remove the quarantine attribute.
161+ </ p >
162+
139163 < p className = "mt-8 md:mt-12 text-xs md:text-sm text-white/40 font-medium flex flex-col sm:flex-row items-center justify-center gap-2" >
140164 < span > Current Version: < span className = "text-white/80" > { latestRelease ?. tag_name || `v${ pkgData . version } ` } </ span > </ span >
141165 < span className = "hidden sm:inline opacity-50" > •</ span >
0 commit comments