diff options
author | João Valverde <j@v6e.pt> | 2023-08-22 13:29:06 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2023-08-23 20:28:43 +0100 |
commit | 9fb85a847d0ae94d6b4a94baa67f16bcfbd965fe (patch) | |
tree | 039f4dbe414cbe068c2abf387553d7a3548ad3bd /packaging/nsis/USBPcapPage.ini | |
parent | d1f08edcba3305eb88d5bfa3f2f8332251ceedcc (diff) |
Lua: Load init.lua from plugins directory
Instead of having a global init.lua in datafile_dir that may
contain library code, load the init.lua script from the plugins
directories, similar to other Lua scripts, but guaranteed to
be the first one loaded.
This is consistent with our practice and avoids overwriting the
customizable share/wireshark/init.lua with each instalation or
upgrade.
It also should allow using package.path correctly (which does
not include the configuration directory).
The init.lua in the configuration directory is still loaded for
backward compatibility. It generates a warning in the console.
Diffstat (limited to 'packaging/nsis/USBPcapPage.ini')
0 files changed, 0 insertions, 0 deletions