Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add support for additional support files #135

Open
VorpalBlade opened this issue Jul 23, 2024 · 0 comments
Open

Feature request: Add support for additional support files #135

VorpalBlade opened this issue Jul 23, 2024 · 0 comments

Comments

@VorpalBlade
Copy link

It would be useful to have support for additional support files.

For example:

  • Shell completion files (bash, zsh)
  • Man pages
  • Dynamic libraries
  • Support binaries (I need a separate binary to work as a LSP language server that goes along with my program with an embedded scripting language, Rune unfortunately doesn't currently support having both in a single binary)

Since this is a very general problem (and it wouldn't be clear where to put the specific files), perhaps a generic callback that the application author could implement would be a way to do this. For example:

self_update::backends::github::Update::configure()
    .repo_owner("...")
    .repo_name("...")
    // ...
    .handle_additional_files(|archive_iterator| { /* ...*/ }
    .update();
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

No branches or pull requests

1 participant