Skip to content

README is missing the part, that the shell commands need to be installed before checking it with the scanner #1

@jan-steffen

Description

@jan-steffen

When i checked my installation the first time, the scanner told me, that Visual Studio Code has not been found, even if it is installed.

[~/glassworm-detect]:./glassworm-detect.sh
========================================
   Glassworm Extension Detection Tool
========================================

Checking Visual Studio Code...
  ⚠ Visual Studio Code not found
Checking Visual Studio Code Insiders...
  ⚠ Visual Studio Code Insiders not found
Checking VSCodium...
  ⚠ VSCodium not found

========================================
              Summary
========================================

VSCode installations found: 0
✓ CLEAN: No infected extensions found!
  Your system appears to be safe from Glassworm.
Scan log saved to: glassworm-scan-20251024-081917.log

The scanner only checks the installation if the code shell command has been installed in advance:
see https://code.visualstudio.com/docs/setup/mac
To run VS Code from the terminal by typing code, add it to the $PATH environment variable:

This suggests the system is clean, even if it may not!

After adding it to the $PATH variable, the output of the scanner looks different:

[~/glassworm-detect]:./glassworm-detect.sh
========================================
   Glassworm Extension Detection Tool
========================================

Checking Visual Studio Code...
  ✓ No infected extensions found

Checking Visual Studio Code Insiders...
  ⚠ Visual Studio Code Insiders not found
Checking VSCodium...
  ⚠ VSCodium not found

========================================
              Summary
========================================

VSCode installations found: 1
✓ CLEAN: No infected extensions found!
  Your system appears to be safe from Glassworm.

At least this should be added to the README file as a step of the initial installation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions