mirror of
https://github.com/farfalleflickan/cmyflix.git
synced 2024-11-24 09:45:30 +00:00
Fixed URL in check-update
This commit is contained in:
parent
35d84b3731
commit
b645a36b9a
@ -68,7 +68,7 @@ void printVersion() {
|
||||
|
||||
// check github to see if there is a new version
|
||||
void checkUpdate() {
|
||||
const char *URL="https://raw.githubusercontent.com/farfalleflickan/cmyflix/master/main.c";
|
||||
const char *URL="https://raw.githubusercontent.com/farfalleflickan/cmyflix/master/src/main.c";
|
||||
const char *getVersionCmd="curl -s %s | grep -i '#define VERSION_STRING ' | sed -e 's/#define VERSION_STRING\\| //g;s/\"//g'";
|
||||
size_t cmdStrSize=strlen(getVersionCmd)+strlen(URL)+1;
|
||||
char *cmdStr=NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user