Giter VIP home page Giter VIP logo

Comments (4)

balupton avatar balupton commented on June 19, 2024 1

From memory there are existing utilities that would benefit from having other files extracted as well, but yeah, the download technique in setup-util doesn't currently natively support that. The complexity is that I'm not sure XDG supports such extractions, so they would have to go to /usr/local or whatever, which sometimes requires sudo.

If we get a few more utilities needing such, will make sense to do a PR.

Marking as a suggestion.

from dorothy.

balupton avatar balupton commented on June 19, 2024

Sure, setup-util-bash unzips and builds. Others unzip multiple files, and others unzip a single file. If you have vscode you can run dorothy edit then file search for DOWNLOAD_ARCHIVE_GLOB

from dorothy.

balupton avatar balupton commented on June 19, 2024

If it has github assets, you can use this structure instead:
https://github.com/bevry/dorothy/blob/master/commands/setup-util-sd

from dorothy.

edmcman avatar edmcman commented on June 19, 2024

Thanks, I played with these a bit. If I understand correctly, sd downloads a zip and extracts a single file. bash downloads a zip, extracts a bunch of files and builds, but only installs a single file. Ghidra needs to have multiple files installed. The ghidraRun file/script is used to start it, but that's just a small script.

Here's what I'm using now: https://github.com/edmcman/dotfiles/blob/main/commands/setup-util-ghidra

Basically the support files have to live somewhere. I don't see a way to accomplish this now with setup-util. Maybe it's rare enough that it's not needed.

from dorothy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.