Main Menu

Help

Started by 564place, Aug 08, 2020, 08:51 PM

Previous topic - Next topic

564place

Hi im trying to make a way for me to not be able to delete some files with the delete program or with programs except a custom program i have no idea how to start this.

Lupus590

You want to override the fs api, specifically fs.delete so that it can't delete your stuff.

You will also may want to edit other fs api methods so that it is clear that the files are protected.