Skip to content

Expose active ProjectShell starting folder to launched applications - #8

Closed
NathanVarner27 wants to merge 6 commits into
mainfrom
feature/active-session-startdirectory-handoff
Closed

NathanVarner27 wants to merge 6 commits into
mainfrom
feature/active-session-startdirectory-handoff

Conversation

@NathanVarner27

Copy link
Copy Markdown
Owner

ProjectShell already sets the active profile's StartDirectory as the PowerShell session working directory. This draft extends the local-first contract by exporting PROJECTSHELL_START_DIRECTORY in the current process only when project sessions start and when a saved main tool is launched. Descendant tools (GPB's Windows Distribution Builder, etc.) can offer that exact saved folder as an editable default, even after cd. No profiles.json is passed and no machine/user environment variables or disk state are changed. Added a standalone PowerShell test that calls only the isolated context helper, checks invalid paths and persistent env unchanged; execute under Windows PowerShell 5.1 and PowerShell 7. Development PR, not yet part of ProjectShell v1.1.0. No installer/release change.

Copy link
Copy Markdown
Owner Author

Superseded by integrated ProjectShell v1.2.0 PR #10, merged to main at f6f8eafe6ce92fbddc828d8db5d010ea6a9c4ea9. Both the ProjectShell-owned application-name transition and the process-local saved-folder handoff are included in that tested combination. Closing this draft without separately merging duplicate changes. This does NOT publish a v1.2.0 GitHub release or certify MSIX.

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