While updating my WarpDrive mod preloaded LUA scripts, I've noted a few issues.
As of OC 1.7.10-1.6.0-beta.1, autorun.lua scripts provided by my mod were automatically executed.
As of OC 1.7.10-1.6.2, the same scripts are no longer loaded when starting the computer. However, they'll run if I break/place my block.
From a LUA console, filesystem autorun is reported as enabled (filesystem.isAutorunEnabled() returns true).
If I "install" them, they are copied in / but still won't autorun. Same goes if I copy them in /home.
How are we supposed to have autorun now with OpenOS? Is there a wiki on how the boot sequence works?
When connecting multiple version of the same block, each one will provide the same read-only filesystem from the same location.
However, OC API doesn't seem to detect them as equals and create a lot of filesystem components while only one is actually necessary.
Is it the intended behavior? How can I declare the filesystem as being actually the same?
Here's a simplified version of my TileEntity code:
I've added a common library to all my scripts. When placed next to the autorun.lua script, it'll only find it when I change to that folder first.
It appears the autorun is called without setting current directory to it, is that intended?
Using the OpenOS install command does copy some files, but the library doesn't get installed in /lib or something.
How can I install my library automatically?