Posted 16 February 2016 - 10:34 AM
Hello, im trying to restrict the fs.delete function so that it can only be used in specific programs.
ive looked into using shell.getRunningProgram but i think that would just return the program directory of the above code.
any help is appriciated :)/>
local oldfsdelete = fs.delete
function fs.delete()
--verify permision then if the program has permission run oldfsdelete
end
ive looked into using shell.getRunningProgram but i think that would just return the program directory of the above code.
any help is appriciated :)/>
Edited on 16 February 2016 - 09:35 AM