Improves Remote Viewer detection and install guidance on macOS#177
Merged
Conversation
Expands the search for Remote Viewer to support common Homebrew and MacPorts installation paths, increasing compatibility with different user environments. Updates installation instructions to include Homebrew as an option, making setup clearer for users who do not have virt-viewer installed.
dkmstr
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the way our macOS SPICE transport scripts locate the
remote-viewer(virt-viewer) binary. Instead of assuming a single installation path, the scripts now search multiple common locations, making them more robust and compatible with different user setups. The user guidance in error messages has also been updated to provide clearer installation instructions.Improvements to remote-viewer detection and user guidance:
direct.pyandtunnel.pynow search forremote-viewerin/Applications/RemoteViewer.app/Contents/MacOS/RemoteViewer,/opt/homebrew/bin/remote-viewer, and/usr/local/bin/remote-viewer, increasing compatibility with different installation methods. [1] [2]remote-vieweris not found, the exception message now suggests installing via Homebrew and provides a direct command, as well as a link to the MacPorts page, making it easier for users to resolve missing dependencies. [1] [2]Signature updates:
.signaturefiles for both scripts to reflect the code changes. [1] [2]