alexander-beaver / FRCInstall

FRC Installer in .net
0 stars 0 forks source link

Apps to add #4

Closed NikolaTesla17 closed 3 years ago

NikolaTesla17 commented 3 years ago

Github FRC Israel? Python/OpenCV?

alexander-beaver commented 3 years ago

GH Desktop and Python (via Ninite) should already be added. I don't think FRC Israel is a big deal for us.

Maybe Slack

alexander-beaver commented 3 years ago

OpenCV might be good

NikolaTesla17 commented 3 years ago

OpenCV is totally doable, apparently they have an actual installer now, the only issue is adding it to path, I assume this is a non-issue for Python and such as I think ninite does that automatically, and for OpenCV something like the code: var name = "PATH"; var scope = EnvironmentVariableTarget.Machine; // or User var oldValue = Environment.GetEnvironmentVariable(name, scope); var newValue = oldValue + @";%OPENCV_DIR%\bin" + @";C:\OpenCV\Build\x64\"; Environment.SetEnvironmentVariable(name, newValue, scope); should add opencv to the path for the whole machine, and would be easy enough to implement, maybe an "add to path variables" section in the xml, but I'm not sure if this is out of scope, if you want me to add it though, should just be 5 minutes or so.

Also, I think slack should be left out as the website works fine and any version of slack devours ram equally terribly

NikolaTesla17 commented 3 years ago

just gonna do this opencv stuff in another branch to see how difficult it is, we can choose to merge or not later

NikolaTesla17 commented 3 years ago

turned out to be really easy, the stuff in the addToPath branch works, I'm gonna go ahead an merge