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
Currently some actions that we do delete a folder directly without checking its content, and if something bad happens we might delete something that we shouldn't.
Feature description
Before deleting a folder we should run some checks to ensure that the folder we are going to delete is correct, for example:
before deleting a prefix folder we should check if the folder contains files like dosdevicesdrive_c, pfx/dosdevices or pfx/drive_c
before deleting a game folder we should check if the folder contains some game file (we have some metadata about the game, I think we can check if the game executable is present)
before deleting a wine version we could check that it has the expected folder lib lib64 share bin
I think it doesn't hurt to be extra careful when deleting stuff.
Alternatives
not sure
Additional information
No response
The text was updated successfully, but these errors were encountered:
Problem description
Currently some actions that we do delete a folder directly without checking its content, and if something bad happens we might delete something that we shouldn't.
Feature description
Before deleting a folder we should run some checks to ensure that the folder we are going to delete is correct, for example:
dosdevices
drive_c
,pfx/dosdevices
orpfx/drive_c
I think it doesn't hurt to be extra careful when deleting stuff.
Alternatives
not sure
Additional information
No response
The text was updated successfully, but these errors were encountered: