Etuldan/MidiControl

Self-update mechanism

Opened this issue · 11 comments

Adding a self update mecanism could be nice.

ooo neat idea, i'm going to experiment with this on my repo. started some UI work for it. wondering if there will be a good way to do it for both the obs27 and obs28 versions without them downloading the wrong one... maybe it can check the contents of the release tag for both program and websocket version indicators? or maybe it can ask which one to download? i started with my base obs27 branch, but it should just be literal copy and paste the changes into the obs28 branches

obs27 support will be dropped for MidiControl.

Okay, I'll go ahead and port the progress so far to an obs28 branch. Started with obs27 because I use an ASIO source capture plugin that hasn't been updated in some time and likely won't... I may just maintain that release on my own fork.

hmm, didn't know that the 5.0 websocket version was also available for OBS 27. i'll have to give that a try!

Will be probably in a 3rd party nugget ;)

i haven’t forgotten about this, just been busy and distracted with the holiday season and work and such lol. i found the correct ws plugins and i’m gonna try the 5.0 ws for obs 27 hopefully today, if it works then i’ll just move forward on that version from there on. the self-update is almost done, it sorts through the releases to find the highest version number based on release tags and shows the changelog, checking on startup is optional and off by default (first run of the new version shows a prompt to enable it or not), though i’m wondering whether the best approach from there would be to either: a) download the setup exe if the user accepts, and then run it automatically if they choose to, or b) just open the github release page in a browser.

hope you had a good holiday! i’ll see if i can auto-merge the changes you made for the project version; i’m using visual studio 2017 currently, i’m assuming you upgraded it to the latest 2022 version?

Don't put too much effort on the selfupdate mecanism, as I'm working on it on spare time.
VSStudio 2017 should works.

The ws5.0 version of MidiControl works fine with OBS 27 running ws5.0. I see you've started a self-update mechanism; I also have it working on my branch, although differently, and also added a small ux enhancement (hotkey tooltips show the mapped device/note/cc) and a bug fix (OBSControl.ShowFilter() wasn't working properly, discovered this after skimming through my VOD this evening and realizing my voice effect didn't turn on lol). Feel free to take and include those changes in the next release :)