File:20200908182828 1.jpg
Licensing
gollark: Sooo... do I just need to redefine everything with an `environment` argument or which makes FS calls internally?
gollark: It does need pretty heavy lua meddling though, for sandboxing and all that.
gollark: Good idea.
gollark: no, contribute to potatOS.
gollark: My thing:- redefines FS functions in new env table- deep-copies a bunch of permitted APIs/libraries into it- redefines getfenv, load in env table- runs init file in new environment via `load`
This article is issued from Dandwiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.