Bundle Lua scripts into the darktable release#20848
Conversation
start script_manager
…share/darktable/lua-scripts
handled by script_manager. Added bundeled script directory to the lua search path.
|
Could it be that this removed the Lua-installer from darktables UI? When starting with a clean config dir the current nightly neither has lua scripts included nor the installer. |
|
@anoderay what OS? |
Sorry: Appimage running on bazzite, observed the same behaviour in a Ubuntu VM. |
|
I reproduced it on windows because the install directory had a @anoderay can you run with -d lua and post a log? EDIT: Tested last nights appimage on Ubuntu 22.04 and it worked correctly. EDIT 2: #20986 will fix the windows problem and my fix the one above. |
|
It looks like a4003bc causes |
|
@tenderlove the user luarc should still be respected and used if it's present. Fix coming.... |
Supersedes #19899.
This PR enables bundling the lua-scripts with the darktable release, removing the last barrier to entry for using the scripts.
The bundled scripts are the choice of last resort, so if the user already has the lua-scripts installed the user version takes priority.
The scripts can also run in a "hybrid" mode where the bundled scripts are used and selected scripts can be added by placing them in the users lua directory.
Fixes #17422.