fix
This commit is contained in:
14
README.md
14
README.md
@@ -104,12 +104,12 @@ Downloads package via HTTP if not found on LAN.
|
|||||||
|
|
||||||
To ensure security, only a limited set of safe functions are exposed in Lua hooks:
|
To ensure security, only a limited set of safe functions are exposed in Lua hooks:
|
||||||
|
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
os.rename(old, new)
|
os.rename(old, new)
|
||||||
os.copy(source, target)
|
os.copy(source, target)
|
||||||
os.symlink(source, target)
|
os.symlink(source, target)
|
||||||
io.open(path, mode)
|
io.open(path, mode)
|
||||||
path_join(...) -- Safely join path segments
|
path_join(...) -- Safely join path segments
|
||||||
|
|
||||||
### Note: Dangerous functions like os.execute, os.getenv, etc. are removed.
|
### Note: Dangerous functions like os.execute, os.getenv, etc. are removed.
|
||||||
## 🗃️ Databases
|
## 🗃️ Databases
|
||||||
@@ -118,7 +118,7 @@ path_join(...) -- Safely join path segments
|
|||||||
|
|
||||||
installed.db: Packages currently installed
|
installed.db: Packages currently installed
|
||||||
|
|
||||||
#⚠️ Restrictions & Notes
|
# ⚠️ Restrictions & Notes
|
||||||
|
|
||||||
Linux only (//go:build linux)
|
Linux only (//go:build linux)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user