Skip to content

[codex] Use package-friendly runtime paths#103

Closed
besendorf wants to merge 1 commit into
mainfrom
codex/package-manager-paths
Closed

[codex] Use package-friendly runtime paths#103
besendorf wants to merge 1 commit into
mainfrom
codex/package-manager-paths

Conversation

@besendorf

@besendorf besendorf commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Extract bundled ADB assets into a private temporary directory instead of next to the androidqf executable.
  • Keep generated acquisition output in the current working directory, including encrypted archives.
  • Look for key.txt in the current working directory first, then fall back to the executable directory.
  • Document the new output and key lookup behavior and add focused tests.

Why

This is better for androidqf usage when it is installed via a package manager: packaged executables usually live in read-only or shared system locations, while runtime artifacts should be written to the user's working directory or a temporary directory.

Validation

  • go test ./...
  • go test -tags unbundle ./...
  • GOOS=darwin GOARCH=amd64 go test ./adb ./assets
  • GOOS=windows GOARCH=amd64 go test -tags unbundle ./adb ./assets

@besendorf

Copy link
Copy Markdown
Collaborator Author

Replaced by #104 with neutral branch and title naming.

@besendorf besendorf closed this Jun 19, 2026
@besendorf besendorf deleted the codex/package-manager-paths branch June 19, 2026 14:44
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