... | ... | @@ -73,8 +73,8 @@ args = anywave('init', varargin); |
|
|
disp(args.plugin_option1); % value for plugin_option1 from the command line.
|
|
|
disp(args.plugin_option2); % value for plugin_option2 from the command line.
|
|
|
````
|
|
|
However, this is possible only if we inform AnyWave about plugin_option1 and plugin_option2.
|
|
|
Otherwise, an error will occured when using the command line saying that _plugin_option1_ and _plugin_option2_ are unknown options.
|
|
|
However, this is possible only if we inform AnyWave about _plugin_option1_ and _plugin_option2_.
|
|
|
Otherwise, an error will occur when using the command line saying that _plugin_option1_ and _plugin_option2_ are unknown options.
|
|
|
|
|
|
#### Register specific options
|
|
|
To add support for specific command line option, add a file called **args.json** in the plugin folder.
|
... | ... | @@ -91,7 +91,7 @@ AnyWave can call the standalone version of your plugin if you add the following |
|
|
*compiled plugin=nameofexefile*
|
|
|
|
|
|
On Windows it will the name of the .exe file located in the folder.
|
|
|
On macOS and linux it will be the bash script (.sh file)
|
|
|
On macOS and Linux it will be the bash script (.sh file)
|
|
|
|
|
|
It is also strongly recommended to specify the version of the Runtime needed to run the plugin.
|
|
|
add a new line to desc.txt file:
|
... | ... | |