feat: expose build information

This commit is contained in:
2025-03-06 19:27:02 -05:00
parent b20beb6e88
commit 4d3947c4ef
12 changed files with 105 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ use std::{
thread,
};
pub fn register_functions(lua: &Lua, globals: &Table) -> Result<()> {
pub fn register_globals(lua: &Lua, globals: &Table) -> Result<()> {
globals.set(
"system",
lua.create_function(|_, (command, args): (String, Option<Vec<OsString>>)| {