tfrere HF Staff Cursor commited on
Commit
ec66d2c
·
1 Parent(s): faacae5

feat: remove macOS Intel platform from download page

Browse files

macOS Intel is no longer supported. Remove all references:
- Platform config, asset parsing, platform card
- "Coming soon" banner and notice
- GettingStarted.jsx mention
- Adjust grid layout from 4 to 3 columns

Co-authored-by: Cursor <cursoragent@cursor.com>

src/pages/Download.jsx CHANGED
@@ -29,12 +29,6 @@ const PLATFORMS = {
29
  arch: 'M1, M2, M3, M4',
30
  format: '.dmg',
31
  },
32
- 'darwin-x86_64': {
33
- name: 'macOS',
34
- subtitle: 'Intel',
35
- arch: 'x86_64',
36
- format: '.dmg',
37
- },
38
  'windows-x86_64': {
39
  name: 'Windows',
40
  subtitle: '64-bit',
@@ -187,13 +181,6 @@ function parseReleasePlatforms(assets) {
187
  platforms['darwin-aarch64'] = { url };
188
  }
189
 
190
- // macOS Intel - prefer .dmg
191
- if (name.includes('x64.dmg') && !name.includes('arm64')) {
192
- platforms['darwin-x86_64'] = { url };
193
- } else if (name.includes('darwin-x86_64') && !platforms['darwin-x86_64']) {
194
- platforms['darwin-x86_64'] = { url };
195
- }
196
-
197
  // Windows - .msi (exclude .sig signature files)
198
  if (name.endsWith('.msi')) {
199
  platforms['windows-x86_64'] = { url };
@@ -219,7 +206,6 @@ function getDownloadUrlForPlatform(release, platform) {
219
  // Platform Card component
220
  function PlatformCard({ platformKey, url, isActive, onClick }) {
221
  const platform = PLATFORMS[platformKey];
222
- const isComingSoon = platformKey.includes('darwin-x86_64');
223
  const isBeta = platformKey.includes('windows') || platformKey.includes('linux');
224
 
225
  return (
@@ -235,37 +221,17 @@ function PlatformCard({ platformKey, url, isActive, onClick }) {
235
  borderColor: isActive ? 'rgba(59, 130, 246, 0.4)' : 'rgba(255, 255, 255, 0.08)',
236
  backdropFilter: 'blur(10px)',
237
  transition: 'all 0.25s ease',
238
- opacity: isComingSoon ? 0.7 : 1,
239
  '&:hover': {
240
  borderColor: isActive ? 'rgba(59, 130, 246, 0.6)' : 'rgba(255, 255, 255, 0.2)',
241
  transform: 'translateY(-4px)',
242
  boxShadow: isActive
243
  ? '0 12px 40px rgba(59, 130, 246, 0.2)'
244
  : '0 12px 40px rgba(0, 0, 0, 0.3)',
245
- opacity: 1,
246
  },
247
  }}
248
  >
249
- {/* Coming soon tag */}
250
- {isComingSoon && (
251
- <Chip
252
- label="Coming soon"
253
- size="small"
254
- sx={{
255
- position: 'absolute',
256
- top: 8,
257
- right: 8,
258
- backgroundColor: 'rgba(255, 149, 0, 0.2)',
259
- color: '#FF9500',
260
- fontSize: 10,
261
- fontWeight: 700,
262
- height: 20,
263
- '& .MuiChip-label': { px: 1 },
264
- }}
265
- />
266
- )}
267
- {/* Beta tag for Windows */}
268
- {isBeta && !isComingSoon && (
269
  <Chip
270
  label="Beta"
271
  size="small"
@@ -285,7 +251,7 @@ function PlatformCard({ platformKey, url, isActive, onClick }) {
285
 
286
  <CardContent
287
  component="a"
288
- href={isComingSoon ? undefined : url}
289
  sx={{
290
  display: 'flex',
291
  flexDirection: 'column',
@@ -295,7 +261,6 @@ function PlatformCard({ platformKey, url, isActive, onClick }) {
295
  color: 'inherit',
296
  p: 3,
297
  '&:last-child': { pb: 3 },
298
- pointerEvents: isComingSoon ? 'none' : 'auto',
299
  }}
300
  >
301
  <Box sx={{
@@ -556,169 +521,67 @@ export default function Download() {
556
  </Typography>
557
  </Stack>
558
 
559
- {/* Primary download button - different for Windows/macOS Apple Silicon/Linux vs macOS Intel */}
560
- {detectedPlatform?.startsWith('windows') || detectedPlatform === 'darwin-aarch64' || detectedPlatform?.includes('linux') ? (
561
- <>
562
- <Button
563
- variant="contained"
564
- size="large"
565
- href={currentUrl}
566
- startIcon={<DownloadIcon />}
567
- sx={{
568
- px: 6,
569
- py: 2,
570
- fontSize: 17,
571
- fontWeight: 600,
572
- borderRadius: 3,
573
- background: 'linear-gradient(135deg, #FF9500 0%, #764ba2 100%)',
574
- boxShadow: '0 8px 32px rgba(255, 149, 0, 0.35)',
575
- transition: 'all 0.3s ease',
576
- '&:hover': {
577
- boxShadow: '0 12px 48px rgba(59, 130, 246, 0.5)',
578
- transform: 'translateY(-2px)',
579
- },
580
- }}
581
- >
582
- Download for {currentPlatform?.name}
583
- </Button>
584
-
585
- <Typography
586
- variant="body2"
587
- sx={{
588
- color: 'rgba(255,255,255,0.4)',
589
- mt: 2,
590
- fontSize: 13,
591
- }}
592
- >
593
- {currentPlatform?.subtitle} • {currentPlatform?.format?.replace('.', '').toUpperCase()} package
594
- </Typography>
595
 
596
- {/* Beta Warning for Windows and Linux */}
597
- {(detectedPlatform?.startsWith('windows') || detectedPlatform?.includes('linux')) && (
598
- <Box
599
- sx={{
600
- mt: 3,
601
- p: 2.5,
602
- background: 'linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)',
603
- border: '1px solid rgba(59, 130, 246, 0.3)',
604
- borderRadius: 2,
605
- maxWidth: 500,
606
- mx: 'auto',
607
- }}
608
- >
609
- <Typography
610
- variant="body2"
611
- sx={{
612
- color: 'rgba(255,255,255,0.8)',
613
- fontWeight: 500,
614
- }}
615
- >
616
- {detectedPlatform?.startsWith('windows')
617
- ? <>⚠️ Windows version is currently in Beta — installation requires <strong style={{ color: 'rgba(255,255,255,0.9)' }}>administrator privileges</strong>.</>
618
- : <>⚠️ Linux version is currently in Beta — please report any issues on <a href="https://github.com/pollen-robotics/reachy-mini-desktop-app/issues" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>GitHub</a> or <a href="https://discord.gg/HDrGY9eJHt" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>Discord</a>.</>
619
- }
620
- </Typography>
621
- </Box>
622
- )}
623
- </>
624
- ) : (
625
- <>
626
- {/* macOS Intel - Coming soon message */}
627
- <Box
628
- sx={{
629
- px: 5,
630
- py: 2.5,
631
- borderRadius: 3,
632
- background: 'linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%)',
633
- border: '1px solid rgba(255, 149, 0, 0.3)',
634
- display: 'inline-block',
635
- }}
636
- >
637
- <Typography
638
- variant="h6"
639
- sx={{
640
- color: '#FF9500',
641
- fontWeight: 600,
642
- fontSize: 17,
643
- }}
644
- >
645
- 🚧 {currentPlatform?.name} desktop app coming soon!
646
- </Typography>
647
- </Box>
648
 
 
 
 
 
 
 
 
 
 
 
 
 
 
649
  <Typography
650
  variant="body2"
651
  sx={{
652
- color: 'rgba(255,255,255,0.5)',
653
- mt: 2,
654
- fontSize: 14,
655
- maxWidth: 500,
656
- mx: 'auto',
657
  }}
658
  >
659
- We're working hard to bring Reachy Mini Control to {currentPlatform?.name}.
660
- In the meantime, macOS (Apple Silicon) is fully supported, and Windows & Linux are in beta!
 
 
661
  </Typography>
662
-
663
- {/* Alternative for Linux/advanced users - Python SDK */}
664
- <Box
665
- sx={{
666
- mt: 3,
667
- p: 3,
668
- borderRadius: 2,
669
- background: 'rgba(16, 185, 129, 0.08)',
670
- border: '1px solid rgba(16, 185, 129, 0.25)',
671
- maxWidth: 520,
672
- mx: 'auto',
673
- textAlign: 'left',
674
- }}
675
- >
676
- <Typography
677
- variant="body2"
678
- sx={{
679
- color: 'rgba(255,255,255,0.9)',
680
- fontWeight: 600,
681
- mb: 1,
682
- fontSize: 14,
683
- }}
684
- >
685
- 🐍 Looking to use the Python SDK directly?
686
- </Typography>
687
- <Typography
688
- variant="body2"
689
- sx={{
690
- color: 'rgba(255,255,255,0.6)',
691
- fontSize: 13,
692
- lineHeight: 1.6,
693
- mb: 1.5,
694
- }}
695
- >
696
- {detectedPlatform?.includes('linux')
697
- ? "Linux users can interact directly with their Reachy Mini using the Python SDK. Run the daemon locally and use the full API for custom applications."
698
- : "Advanced users can interact directly with their Reachy Mini using the Python SDK and daemon."}
699
- </Typography>
700
- <Button
701
- variant="outlined"
702
- size="small"
703
- href="https://huggingface.co/docs/reachy_mini/"
704
- target="_blank"
705
- endIcon={<OpenInNewIcon sx={{ fontSize: 14 }} />}
706
- sx={{
707
- color: '#10b981',
708
- borderColor: 'rgba(16, 185, 129, 0.4)',
709
- fontWeight: 600,
710
- fontSize: 12,
711
- textTransform: 'none',
712
- '&:hover': {
713
- borderColor: '#10b981',
714
- bgcolor: 'rgba(16, 185, 129, 0.1)',
715
- },
716
- }}
717
- >
718
- View reachy_mini on GitHub
719
- </Button>
720
- </Box>
721
- </>
722
  )}
723
 
724
  {/* App screenshot */}
@@ -753,8 +616,8 @@ export default function Download() {
753
  </Typography>
754
 
755
  <Grid container spacing={2}>
756
- {['darwin-aarch64', 'darwin-x86_64', 'windows-x86_64', 'linux-x86_64'].map((key) => (
757
- <Grid size={{ xs: 6, sm: 3 }} key={key}>
758
  <PlatformCard
759
  platformKey={key}
760
  url={releaseData?.platforms[key]?.url}
@@ -765,26 +628,6 @@ export default function Download() {
765
  ))}
766
  </Grid>
767
 
768
- {/* Platform support notice - show on Windows, macOS Apple Silicon, and Linux */}
769
- {(detectedPlatform?.startsWith('windows') || detectedPlatform === 'darwin-aarch64' || detectedPlatform?.includes('linux')) && (
770
- <Box
771
- sx={{
772
- mt: 3,
773
- p: 2,
774
- background: 'rgba(255, 255, 255, 0.03)',
775
- border: '1px solid rgba(255, 255, 255, 0.08)',
776
- borderRadius: 2,
777
- textAlign: 'center',
778
- }}
779
- >
780
- <Typography
781
- variant="body2"
782
- sx={{ color: 'rgba(255,255,255,0.5)' }}
783
- >
784
- 🚧 macOS Intel support coming soon
785
- </Typography>
786
- </Box>
787
- )}
788
  </Box>
789
 
790
  {/* Features / What's included */}
 
29
  arch: 'M1, M2, M3, M4',
30
  format: '.dmg',
31
  },
 
 
 
 
 
 
32
  'windows-x86_64': {
33
  name: 'Windows',
34
  subtitle: '64-bit',
 
181
  platforms['darwin-aarch64'] = { url };
182
  }
183
 
 
 
 
 
 
 
 
184
  // Windows - .msi (exclude .sig signature files)
185
  if (name.endsWith('.msi')) {
186
  platforms['windows-x86_64'] = { url };
 
206
  // Platform Card component
207
  function PlatformCard({ platformKey, url, isActive, onClick }) {
208
  const platform = PLATFORMS[platformKey];
 
209
  const isBeta = platformKey.includes('windows') || platformKey.includes('linux');
210
 
211
  return (
 
221
  borderColor: isActive ? 'rgba(59, 130, 246, 0.4)' : 'rgba(255, 255, 255, 0.08)',
222
  backdropFilter: 'blur(10px)',
223
  transition: 'all 0.25s ease',
 
224
  '&:hover': {
225
  borderColor: isActive ? 'rgba(59, 130, 246, 0.6)' : 'rgba(255, 255, 255, 0.2)',
226
  transform: 'translateY(-4px)',
227
  boxShadow: isActive
228
  ? '0 12px 40px rgba(59, 130, 246, 0.2)'
229
  : '0 12px 40px rgba(0, 0, 0, 0.3)',
 
230
  },
231
  }}
232
  >
233
+ {/* Beta tag for Windows and Linux */}
234
+ {isBeta && (
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
  <Chip
236
  label="Beta"
237
  size="small"
 
251
 
252
  <CardContent
253
  component="a"
254
+ href={url}
255
  sx={{
256
  display: 'flex',
257
  flexDirection: 'column',
 
261
  color: 'inherit',
262
  p: 3,
263
  '&:last-child': { pb: 3 },
 
264
  }}
265
  >
266
  <Box sx={{
 
521
  </Typography>
522
  </Stack>
523
 
524
+ {/* Primary download button */}
525
+ <Button
526
+ variant="contained"
527
+ size="large"
528
+ href={currentUrl}
529
+ startIcon={<DownloadIcon />}
530
+ sx={{
531
+ px: 6,
532
+ py: 2,
533
+ fontSize: 17,
534
+ fontWeight: 600,
535
+ borderRadius: 3,
536
+ background: 'linear-gradient(135deg, #FF9500 0%, #764ba2 100%)',
537
+ boxShadow: '0 8px 32px rgba(255, 149, 0, 0.35)',
538
+ transition: 'all 0.3s ease',
539
+ '&:hover': {
540
+ boxShadow: '0 12px 48px rgba(59, 130, 246, 0.5)',
541
+ transform: 'translateY(-2px)',
542
+ },
543
+ }}
544
+ >
545
+ Download for {currentPlatform?.name}
546
+ </Button>
 
 
 
 
 
 
 
 
 
 
 
 
 
547
 
548
+ <Typography
549
+ variant="body2"
550
+ sx={{
551
+ color: 'rgba(255,255,255,0.4)',
552
+ mt: 2,
553
+ fontSize: 13,
554
+ }}
555
+ >
556
+ {currentPlatform?.subtitle} • {currentPlatform?.format?.replace('.', '').toUpperCase()} package
557
+ </Typography>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
 
559
+ {/* Beta Warning for Windows and Linux */}
560
+ {(detectedPlatform?.startsWith('windows') || detectedPlatform?.includes('linux')) && (
561
+ <Box
562
+ sx={{
563
+ mt: 3,
564
+ p: 2.5,
565
+ background: 'linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.08) 100%)',
566
+ border: '1px solid rgba(59, 130, 246, 0.3)',
567
+ borderRadius: 2,
568
+ maxWidth: 500,
569
+ mx: 'auto',
570
+ }}
571
+ >
572
  <Typography
573
  variant="body2"
574
  sx={{
575
+ color: 'rgba(255,255,255,0.8)',
576
+ fontWeight: 500,
 
 
 
577
  }}
578
  >
579
+ {detectedPlatform?.startsWith('windows')
580
+ ? <>⚠️ Windows version is currently in Beta installation requires <strong style={{ color: 'rgba(255,255,255,0.9)' }}>administrator privileges</strong>.</>
581
+ : <>⚠️ Linux version is currently in Beta — please report any issues on <a href="https://github.com/pollen-robotics/reachy-mini-desktop-app/issues" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>GitHub</a> or <a href="https://discord.gg/HDrGY9eJHt" target="_blank" rel="noopener noreferrer" style={{ color: '#3b82f6', textDecoration: 'underline' }}>Discord</a>.</>
582
+ }
583
  </Typography>
584
+ </Box>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
585
  )}
586
 
587
  {/* App screenshot */}
 
616
  </Typography>
617
 
618
  <Grid container spacing={2}>
619
+ {['darwin-aarch64', 'windows-x86_64', 'linux-x86_64'].map((key) => (
620
+ <Grid size={{ xs: 12, sm: 4 }} key={key}>
621
  <PlatformCard
622
  platformKey={key}
623
  url={releaseData?.platforms[key]?.url}
 
628
  ))}
629
  </Grid>
630
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
631
  </Box>
632
 
633
  {/* Features / What's included */}
src/pages/GettingStarted.jsx CHANGED
@@ -326,7 +326,7 @@ export default function GettingStarted() {
326
  The desktop app includes everything you need to control your Lite version.
327
  </Typography>
328
  <Typography variant="caption" sx={{ display: 'block', mb: 2, color: 'warning.main' }}>
329
- Desktop App available for macOS (Apple Silicon), Windows & Linux (beta). macOS Intel coming soon!
330
  </Typography>
331
  <Button
332
  variant="contained"
 
326
  The desktop app includes everything you need to control your Lite version.
327
  </Typography>
328
  <Typography variant="caption" sx={{ display: 'block', mb: 2, color: 'warning.main' }}>
329
+ Desktop App available for macOS (Apple Silicon), Windows & Linux (beta).
330
  </Typography>
331
  <Button
332
  variant="contained"