streamdeck-tools icon indicating copy to clipboard operation
streamdeck-tools copied to clipboard

Did you think about manifest auto generation

Open ebattulga opened this issue 1 year ago • 2 comments

Every action change or add or removed always fix manifest is little complicated. I have a idea to solve this problem by auto generate manifest from classes with attributes. For example

[PlugInActionId("com.blahblah")]
[ActionName("MyActionName")]
[Icon("...")]
[Tooltip("...")]
[State("Images/pluginState1","Top","12")]
[State("Images/pluginState2","Top","12")]
[PropertyInspectorPath("...")]
public class KeyAction:KeypadBase{
...
}

I dont know what is easiest method, Post build event run script or T4 template or something.

What you think?

ebattulga avatar Feb 16 '24 01:02 ebattulga

+1 for this. Had the idea of implementing this myself the other day as well.

linmar22 avatar Jun 27 '24 13:06 linmar22

I did something similar using python as post-build event, it's not the best solution but it gets the job done: https://github.com/iu2frl/StreamDock.Plugins.Olliter/blob/master/build_manifest.py

iu2frl avatar Oct 09 '24 20:10 iu2frl