Windows long-path support
scripts/enable-long-paths.ps1 checks deep repository paths.
Behavior
Jarock calculates the repository path length before setup. If the path is safe, it prints that no policy change is required. If the path is deep enough to risk the legacy Windows 260-character limit, it checks LongPathsEnabled and can request an elevated change.
| Situation | Message and action |
|---|---|
| Safe path | Reports that long-path policy is not required. |
| Already enabled | Reports that Windows long paths are enabled. |
| Needs change | Shows an administrator prompt and reports success or failure. |
| Permission denied | Stops with a suggested fix; no silent fallback is claimed. |
Limitations
- It cannot bypass a missing drive or denied folder permissions.
- Some network shares do not support long paths.
- Legacy applications may still impose their own limits.
- The helper does not open router ports, change firewall rules, or alter server networking.
After a successful policy change, close and reopen the terminal if an older process still has the previous Windows environment.