-
Notifications
You must be signed in to change notification settings - Fork 147
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
Auto download MediaInfo using PowerShell #832
Comments
1: Retrieve the version number Your script is correct. You can use a variable to avoid two identical web requests:
You can also read the version from the version.txt file if you don't want to parse the JSON:
On our side, we can add a URL to download the latest binary, e.g.: However, this also have drawbacks. Since the version number doesn't appear in the URL, you still have to retrieve it one way or another, for example, to check if the version is newer than the installed one. |
Thank you for taking the time to reply about this. I don't think it's a good idea to retrieve the version number at all, I moved to different approach which includes going to the official website instead of GitHub and selecting the correct version from there (I edited first post). |
Since this repo doesn't have discussions, I had to open an issue, sorry about that.
I'm trying to create a powershell script that will auto download MediaInfo.
(Yes, I know this is a bit unrelated to this repo, but what else should I do?)
Basically I did the following:
But it's not very "elegant" solution, I mean - it's working, but, that's not ideal.
If someone has suggestions or a better idea, please let me know.
(Please do not suggest using chocolatey)
I think this is the best:
The text was updated successfully, but these errors were encountered: