foundryzero / ghidra-deep-links

A cross-platform plugin for Ghidra that provides deep linking support. This enables the generation of clickable disas:// links that can be included in 3rd party applications.
Apache License 2.0
30 stars 1 forks source link

Install Offline does not provide valid extension #2

Closed sampatti37 closed 3 months ago

sampatti37 commented 3 months ago

I am trying to run this in an offline environment but when I select the install directory of ~/.local/share/applications it only installs a .desktop file and a push_to_socket script, not the ghidra-deep-links extension show in the README.

stephen-f0 commented 3 months ago

Hi @sampatti37

The installer scripts only installs/registers the disas:// URI schema it is still necessary to install the Ghidra extension. (we might need to rename the installer scripts to avoid this confusion :) )

You can install the actual extension via one of two methods in an offline environment:

  1. Download a compiled release from https://github.com/foundryzero/ghidra-deep-links/releases Copy it over to your offline machine then install in Ghidra as any other extension (i.e. from Ghidra project browser click File -> Install Extensions. Click the green + button and select the extension zip you transferred - don't extract the zip before)
  2. Build the extension manually by cloning and transferring the entire git repo to your offline environment and following the instruction in https://github.com/foundryzero/ghidra-deep-links/blob/main/BUILDING.md

As it sounds like you've already installed the disas:// handler everything should start working after the extension is installed.

Hope this helps get you setup - let me know if you still have issues.

sampatti37 commented 3 months ago

Got it working, thank you!