Skip to content

Add macOS build support (DMG for Intel & Apple Silicon) - #31

Merged
truelockmc merged 2 commits into
truelockmc:mainfrom
aimen08:add-macos-build
Apr 6, 2026
Merged

Add macOS build support (DMG for Intel & Apple Silicon)#31
truelockmc merged 2 commits into
truelockmc:mainfrom
aimen08:add-macos-build

Conversation

@aimen08

@aimen08 aimen08 commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Summary

this is related to #29
The codebase already includes macOS runtime support (native title bar styling, platform-specific media player paths, etc.) but was missing the build/distribution configuration. This PR adds the missing macOS build pipeline.

Changes

  • Added dist:mac npm script to build macOS DMG installers via electron-builder
  • Added mac and dmg sections to the electron-builder config in package.json
  • Targets both x64 (Intel) and arm64 (Apple Silicon) architectures
  • Resized icon.png from 500x500 to 512x512 (macOS electron-builder minimum)
  • Updated the main dist script to include the macOS build step

Notes

  • Builds are unsigned (no Apple Developer ID), so users need to right-click → Open on first launch
  • New script: npm run dist:mac
  • Output: Streambert-x.x.x.dmg (Intel) and Streambert-x.x.x-arm64.dmg (Apple Silicon)

- Add `dist:mac` script and electron-builder macOS config targeting DMG
- Build for both x64 (Intel) and arm64 (Apple Silicon) architectures
- Add DMG layout with Applications folder shortcut
- Resize icon.png to 512x512 (macOS minimum requirement)
- Set app category to public.app-category.entertainment
@truelockmc
truelockmc merged commit a58417e into truelockmc:main Apr 6, 2026
@truelockmc

Copy link
Copy Markdown
Owner

Thanks, i am going to merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants