Page 1 of 1
optional plugin inclusion
Posted: Tue Jul 12, 2016 3:12 pm
by SamuraiCrow
I was trying to think of a way to implement a keyfile setup similar to Hollywood's own but from within a script. In order to do this I think the most flexible way would be to allow the creation of a plugin that would be used if it is present but its absence trigger no error and allow default operations to be used instead by a conditional "include" directive, possibly as part of the same directive.
Re: optional plugin inclusion
Posted: Tue Jul 12, 2016 7:01 pm
by p-OS
You want to have an executable , that is common to all users, but optionally load and execute some code, that is specific to single users ?
You might have a look at WriteFunction/ReadFunction. the advantage over plugin system is, taht code is fully written in Hollywood itself, and is platform independant.
Re: optional plugin inclusion
Posted: Thu Jul 14, 2016 4:19 am
by SamuraiCrow
ReadTable and WriteTable used with my encryption plugin would work. Thanks.