feat: streamline macOS install with DMG builds + cross-platform setup - #41
Open
shizzleclover wants to merge 1 commit into
Open
feat: streamline macOS install with DMG builds + cross-platform setup#41shizzleclover wants to merge 1 commit into
shizzleclover wants to merge 1 commit into
Conversation
- Add macOS (arm64 + x64) to CI build matrix for DMG distribution - Add ad-hoc signing so DMGs work with xattr quarantine fix - Replace bash-only setup.sh with cross-platform Node.js setup.js - Replace Unix-only 'env -u' npm scripts with cross-platform launch.js - Update README with macOS DMG download + one-time quarantine fix - macOS install: download DMG → drag to Apps → one terminal command → done
|
@shizzleclover is attempting to deploy a commit to the csrsoftwares' projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Streamline macOS Installation
Problem
macOS has no pre-built download — users must clone the repo, install Node.js, and run a Bash setup script. Windows users just download an .exe. The setup script also requires Bash + Perl, making it broken on Windows without Git Bash/WSL.
Solution
Ship macOS DMGs via GitHub Releases + replace the Bash setup script with a cross-platform Node.js version.
macOS install flow: Before → After
Before (5-10 min):
Install Node.js → git clone → chmod +x → ./setup.sh → wait for npm + Whisper → configure API keyAfter (30 seconds):
Download .dmg → Drag to Applications → xattr -rd com.apple.quarantine /Applications/OpenCluely.app → OpenChanges
mac.identity: "-"for consistent buildssetup.js— Cross-platform Node.js replacement forsetup.sh(works on Windows/macOS/Linux without Bash or Perl)scripts/launch.js— Replaces Unix-onlyenv -u ELECTRON_RUN_AS_NODEwith a cross-platform launchersetup.sh— Now a thin backward-compatible wrapper that callsnode setup.jsTested
npm startlaunches app via newlaunch.jsnode setup.js --no-run --skip-whisperdry-run completes