Logo
Explore Help
Sign In
1berry/luanti
1
0
Fork 0
You've already forked luanti
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
luanti/clientmods/preview/example.lua

3 lines
131 B
Lua
Raw Normal View History

Create a filesystem abstraction layer for CSM and only allow accessing files that are scanned into it. (#5965) * Load client-side mods into memory before executing them. This removes the remaining filesystem access that client-sided mods had and it will hopefully make then more secure. * Lua Virtual filesystem: don't load the files into memory just scan the filenames into memory. * Fix the issues with backtrace * fix most of the issues * fix code style. * add a comment
2017-06-30 19:14:39 +01:00
print("Loaded example file!, loading more examples")
Be lenient with extra slashes for CSM paths
2019-11-09 15:11:21 +01:00
dofile(core.get_modpath(core.get_current_modname()) .. "/examples/first.lua")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 132ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API