Skip to content

Added mac support - #6

Closed
shesek wants to merge 1 commit into
shesek:masterfrom
Randy808:add-mac-support
Closed

Added mac support#6
shesek wants to merge 1 commit into
shesek:masterfrom
Randy808:add-mac-support

Conversation

@shesek

@shesek shesek commented Aug 28, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The DMG lacks integrity verification, mount cleanup is unreliable, and the macOS path is untested in CI.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds native macOS support for downloading and launching Electrum.

Changes:

  • Downloads and mounts the Electrum DMG.
  • Copies Electrum.app and exposes its executable through the existing path.
File summaries
File Description
build.rs Adds macOS artifact installation logic.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread build.rs
Comment on lines +69 to +72
#[cfg(target_os = "macos")]
{
let dmg_path = download_dir.join("electrum.dmg");
fs::write(&dmg_path, &downloaded_bytes).unwrap();
Comment thread build.rs
Comment on lines +97 to +101
let cp_output = std::process::Command::new("cp")
.args(["-R", app_src.to_str().unwrap(), app_dest.to_str().unwrap()])
.output()
.expect("failed to copy Electrum.app");
assert!(
Comment thread build.rs
fs::write(&filepath, downloaded_bytes).unwrap();
}

#[cfg(target_os = "macos")]

@philippem philippem left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works on mac

@shesek

shesek commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

--> #7

@shesek shesek closed this Sep 2, 2026
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.

4 participants