mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
16 lines
444 B
Lua
16 lines
444 B
Lua
local success, utility = pcall(function()
|
|
return dofile((arg[0]:match("@?(.*/)") or arg[0]:match("@?(.*\\)")) .. "utility-functions.lua")
|
|
end)
|
|
if not success then
|
|
print("\n\n" .. tostring(utility))
|
|
error("\n\nThis script may be installed improperly. Follow instructions at:\n\thttps://github.com/TangentFoxy/.lua-files#installation\n")
|
|
end
|
|
|
|
print(utility.path)
|
|
print(utility.OS)
|
|
print(utility.uuid())
|
|
|
|
print("\n")
|
|
|
|
utility.ls(".")(print)
|