mirror of
https://github.com/farfalleflickan/cmyflix.git
synced 2025-05-09 04:02:08 +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
|
// check github to see if there is a new version
|
||||||
void checkUpdate() {
|
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'";
|
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;
|
size_t cmdStrSize=strlen(getVersionCmd)+strlen(URL)+1;
|
||||||
char *cmdStr=NULL;
|
char *cmdStr=NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user