• Antoine Cellerier's avatar
    Setup lua module search path · 3d693f8b
    Antoine Cellerier authored
    For example, if runing script <user dir>/lua/intf/script.lua, the following paths will be added:
      <user dir>/lua/modules/?.lua
      <user dir>/lua/intf/modules/?.lua
      <share dir>/lua/modules/?.lua
      <share dir>/lua/intf/modules/?.lua
    
    If runing script <share dir>/lua/intf/script.lua, the following paths will be added:
      <share dir>/lua/modules/?.lua
      <share dir>/lua/intf/modules/?.lua
    3d693f8b
meta.c 8.01 KB