Conversation
virtuald
commented
Oct 6, 2025
- TBH there's lots of other ways to shoot yourself in the foot but this is an easy one
- Fixes Refuse to run from user's home directory #137
- TBH there's lots of other ways to shoot yourself in the foot but this is an easy one - Fixes #137
|
Maybe also add Desktop and Downloads? Those are commonly used as scratchpad directories. |
|
Those directory names can be localised, and even moved on Windows, so actually checking those isn't entirely trivial. At least libraries like |
From the original issue:
We can't (and shouldn't) protect the user from everything. The 'default' directory specifically affects users who aren't familiar with the command line and have no idea what "current directory" means. Let's just keep it simple for now. |