Fork the desktop off Omarchy as a self-contained system
This commit is contained in:
1 parent
16a56f49a1
commit
9501f2bb4d
559 files changed
+43273
No files matched your search
@@ -0,0 +1,12 @@
|
||||
-- Require a module only when it can be found on package.path.
|
||||
-- Errors inside existing modules still surface normally.
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.module(module)
|
||||
if package.searchpath(module, package.path) then
|
||||
return require(module)
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in new issue
Block a user