Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add uv to PATH when creating terminal #19

Merged
merged 8 commits into from
Dec 22, 2024

Conversation

psychedelicious
Copy link
Collaborator

@psychedelicious psychedelicious commented Dec 22, 2024

  • Add a bin dir to process.resourcesPath and put uv there instead of directly in process.resourcesPath
  • Adjust some variable names in util.ts to prevent clobbering the path module
  • Add util to get the new bin path, update getUVExecutablePath to use this
  • Prepend the new bin path when creating PTYs so that the uv executable is available
  • Rearrange some PTY logic to shift responsibility of executing anything outside the PtyManager class

- Add a `bin` dir to `process.resourcesPath` and put `uv` there instead of directly in `process.resourcesPath`
- Adjust some variable names in util.ts to prevent clobbering the `path` module
- Add util to get the new `bin` path, update `getUVExecutablePath` to use this
- Prepend the new `bin` path when creating PTYs so that the `uv` executable is available
@psychedelicious psychedelicious force-pushed the psyche/feat/add-uv-to-path branch from f022658 to 5486091 Compare December 22, 2024 01:01
@psychedelicious psychedelicious merged commit 9ff2a0b into main Dec 22, 2024
5 checks passed
@psychedelicious psychedelicious deleted the psyche/feat/add-uv-to-path branch December 22, 2024 07:52
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