linebender / linebender/druid

How to bundle the binary

Open
#2,248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted question
Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I've been using cargo-bundle to bundle builds but when I bundle the app I have built with druid and run it on another mac with the same arch I get this:

Screen Shot 2022-08-26 at 6 02 50 pm

This could be an issue with cargo-bundle but since it used to work with other apps I wrote I think it might be a thing I'm missing related to druid? Perhaps we need frameworks that need to be bundled with this? (https://github.com/burtonageo/cargo-bundle#mac-os-x-specific-settings)

I'm also open to hear what others do to bundle their app. I don't mind using something else as long as I can share my binary with other macs.
Cheers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the cargo-bundle-built Druid application on another macOS machine with the same architecture, then compare the bundle contents and runtime error. The issue is resolved when a documented bundling approach produces an application that runs on another compatible Mac.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
build-system, desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.