Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Did you think about manifest auto generation #77

Open
ebattulga opened this issue Feb 16, 2024 · 2 comments
Open

Did you think about manifest auto generation #77

ebattulga opened this issue Feb 16, 2024 · 2 comments

Comments

@ebattulga
Copy link

ebattulga commented Feb 16, 2024

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?

@linmar22
Copy link

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

@iu2frl
Copy link

iu2frl commented Oct 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants