You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Move the "Path" schema into its own file
This is going to be used outside Legendary in the next commit
* Remove the check-disk-space package
Doing this within Heroic allows us to use already-established patterns
(dynamic import, helper functions like `genericSpawnWrapper`, validation
using Zod)
* Remove getFirstExistingParentPath
This was a little overcomplicated, and lead to issues on Windows (where
you don't necessarily have an existing root folder)
* Fixup `isWritable`
- As Flavio mentioned, `access` doesn't seem to work on Windows, so I
replaced that with some PowerShell commands that check the same thing
- We have to call isWritable with the full path, as you can of course
modify permissions on any folder, not just on a root directory/mount
point
Since this info is now always accurate, we might want to make the
respective warning on the Frontend an error instead
0 commit comments