Skip to content

Skip DLL presence check in injector - #3

Open
waitstepsis wants to merge 1 commit into
Detokenze:mainfrom
waitstepsis:waitstepsis-scaling-eureka
Open

Skip DLL presence check in injector#3
waitstepsis wants to merge 1 commit into
Detokenze:mainfrom
waitstepsis:waitstepsis-scaling-eureka

Conversation

@waitstepsis

Copy link
Copy Markdown

Problem

The injector script previously required a built DLL file to exist before running, raising FileNotFoundError if not found. This blocked development workflows where testing the monitoring/injection logic was needed before a complete DLL build was available.

Solution

Modified inject.py to gracefully handle missing DLL files:

  • Changed from raising FileNotFoundError to printing a warning and continuing execution
  • Added conditional check before attempting DLL injection; skips injection if file is not present
  • Allows the injector to run and monitor for the target LockDown Browser process regardless of DLL build status

Also updated README.md code snippet formatting from inline backticks to a fenced code block for better readability.

Testing

The injector now starts successfully and waits for the target process even when no DLL is available, enabling safer development and integration testing workflows.

- Modified inject.py to gracefully handle missing DLL instead of raising FileNotFoundError
- Added conditional check before attempting DLL injection when file is not present
- Updated README.md code snippet formatting for better readability

This allows the injector to run and wait for the target process even if the DLL has not been built yet, facilitating testing and development workflows.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant