Adam-Kay / Batch-Encoder

Command line batch file encoder using FFmpeg
GNU General Public License v3.0
0 stars 0 forks source link

Add GitHub API Version to request #38

Closed Adam-Kay closed 10 months ago

Adam-Kay commented 10 months ago

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 the curl command on line 85 https://github.com/Adam-Kay/Batch-Encoder/blob/67c8743cfbbbe3b66e5ccf6ac79033fdb3595ec5/batch%20encoder.bat#L85