Skip to content

Remove target triple from sidecar bin paths, closes #3355#3356

Merged
lucasfernog merged 2 commits intotauri-apps:nextfrom
betamos:universal-sidecar
Feb 8, 2022
Merged

Remove target triple from sidecar bin paths, closes #3355#3356
lucasfernog merged 2 commits intotauri-apps:nextfrom
betamos:universal-sidecar

Conversation

@betamos
Copy link
Copy Markdown
Contributor

@betamos betamos commented Feb 8, 2022

Consistent with the main executable, bundled sidecar binaries
now get the original name - my-sidecar[.exe].

The previous target triple resulted in an path that could not be
reconstructed at runtime if the target
was a universal binary (MacOS)

Clarified documentation on external binaries.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Docs
  • New Binding issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes, and the changes were approved in issue #___
  • No

Checklist

  • When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
  • I have added a convincing reason for adding this feature, if necessary

Other information

Consistent with the main executable, bundled sidecar binaries
now get the original name - `my-sidecar[.exe]`.

The previous target triple resulted in an path that could not be
reconstructed at runtime if the target
was a universal binary (MacOS)

Clarified documentation on external binaries.
@betamos betamos requested a review from a team as a code owner February 8, 2022 00:13
@betamos betamos requested review from a team February 8, 2022 00:13
Copy link
Copy Markdown
Member

@lucasfernog lucasfernog left a comment

Choose a reason for hiding this comment

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

Nice work!

@lucasfernog
Copy link
Copy Markdown
Member

It's not actually a breaking change, but I pushed a changelog entry for it just in case someone is not using our API to resolve the sidecar path.

@betamos
Copy link
Copy Markdown
Contributor Author

betamos commented Feb 8, 2022

Awesome, thanks!

@lucasfernog lucasfernog merged commit 3035e45 into tauri-apps:next Feb 8, 2022
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