Skip to content

Conversation

@Byron
Copy link
Collaborator

@Byron Byron commented Oct 24, 2025

Tasks

  • identifier cleanup
  • prep but for re-use in tauri
  • make gitbutler-tauri a valid but executable
    • symlink the tauri executable instead (what about Windows though? It's not used there at all)
  • validate on new nightly build
  • remove extra binaries from distribution, but on non-windows only.
  • validate distribution

@github-actions github-actions bot added the rust Pull requests that update Rust code label Oct 24, 2025
Byron added 3 commits October 24, 2025 15:51
…s enabled)

That way, it will still work as before when it's not enabled, so in dev mode.
Also, don't let it fail when the CLI path doesn't exist - this error
is not showing up in the UI when it is encountered while the settings are open.
Byron added 2 commits October 24, 2025 17:12
…if the feature was enabled.

This helps to keep the tauri-configuration easy, while reducing the amount of binaries we have to ship and build.
…he 'renamed binary' approach.

This saves 75MB of a 175MB package when decompressed.
@Byron
Copy link
Collaborator Author

Byron commented Oct 24, 2025

@krlvi With the changes in this PR, I have made it so that neither but-testing nor but are included in the distribution, on all platforms. This also works on Windows which will need some love if people want to use the CLI anyway.

This will lead to a 75MB reduction in the installation size on MacOS, down to 100MB, and I will see how big the distributable is.

Please note that locally, we still build the but binary and symlink it as it's more convenient in dev mode, and the whole thing can be feature-toggled with Cargo. I hope to have more data later once the builds are finished.

@gitbutlerapp gitbutlerapp deleted a comment from vercel bot Oct 24, 2025
@krlvi
Copy link
Member

krlvi commented Oct 24, 2025

This is really cool. I wonder if this would make it easier to implement a but . functionality

@krlvi
Copy link
Member

krlvi commented Oct 24, 2025

Btw - one thing to consider is we might need to update our brew setup (but can be installed that way too)

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

Labels

rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants