Skip to content

Fix Windows install path and PATH handling#56

Closed
JerryLiu369 wants to merge 1 commit intoiOfficeAI:mainfrom
JerryLiu369:fix-windows-install
Closed

Fix Windows install path and PATH handling#56
JerryLiu369 wants to merge 1 commit intoiOfficeAI:mainfrom
JerryLiu369:fix-windows-install

Conversation

@JerryLiu369
Copy link
Copy Markdown
Member

This PR aligns the behavior of officecli install with install.ps1 on Windows.

Changes:

  • Install directory: Changed from ~/.local/bin to %LOCALAPPDATA%\OfficeCli
  • Binary name: Added .exe suffix for Windows executable
  • PATH handling: Auto-add to user PATH via registry

This fixes the issue where install.ps1 and officecli install used different paths, causing auto-install detection to fail and requiring manual PATH configuration on Windows.

- Change Windows BinDir from ~/.local/bin to %LOCALAPPDATA%\OfficeCli
- Add .exe suffix for Windows binary name
- Auto-add to user PATH via registry instead of just printing advice

This aligns officecli install behavior with install.ps1
@JerryLiu369 JerryLiu369 closed this by deleting the head repository Apr 15, 2026
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