WIP
It's very unstable and not polished
Put your fx definition as an esm module with a default export, at %USERPROFILE%\.automaton\fxs
, as a .js
extension file.
e.g. put
export default {
name: 'Add', // display name
description: 'Example of user-defined fx definition', // description of the fx definition
params: { // params. can be float, int or boolean
value: { name: 'Value', type: 'float', default: 1.0 },
},
func( context ) { // define your procedure here
return context.value + context.params.value;
}
}
into
%USERPROFILE%\.automaton\fxs\0b5vr\add.js
yarn
yarn electron-forge import
yarn build