Closed Adam-Kay closed 10 months ago
Currently the information file request is made without the appropriate header to denote GitHub API version. This means that if an update is made in future, it could break the update system.
Add -H "X-GitHub-Api-Version:2022-11-28" to the curl command on line 85 https://github.com/Adam-Kay/Batch-Encoder/blob/67c8743cfbbbe3b66e5ccf6ac79033fdb3595ec5/batch%20encoder.bat#L85
-H "X-GitHub-Api-Version:2022-11-28"
curl
Improvement Description
Currently the information file request is made without the appropriate header to denote GitHub API version. This means that if an update is made in future, it could break the update system.
How to implement
Add
-H "X-GitHub-Api-Version:2022-11-28"
to thecurl
command on line 85 https://github.com/Adam-Kay/Batch-Encoder/blob/67c8743cfbbbe3b66e5ccf6ac79033fdb3595ec5/batch%20encoder.bat#L85