taskwhisperer icon indicating copy to clipboard operation
taskwhisperer copied to clipboard

Ability to configure flags passed to task binary

Open non-Jedi opened this issue 6 years ago • 1 comments

Really all I want is to be able to have taskwhisperer call task rc:/path/to/alternate/.taskrc ... for my use case I guess.

non-Jedi avatar Mar 01 '18 04:03 non-Jedi

If anyone else is looking for a quick fix to this and (like me) doesn't know enough JS to fix it properly. Add the following line to top of taskService.js:

const taskrcarg = 'rc:/path/to/alternative/.taskrc'

And then replace in taskService.js every instance of 'task' with 'task', taskrcarg. This is working for me now, inelegant though it may be.

I leave the needed modification of extra/modify.sh and extra/create.sh as a very simple exercise for the reader.

non-Jedi avatar Mar 01 '18 19:03 non-Jedi