Fixed URL in check-update

master
farfalleflickan 2 years ago
parent 35d84b3731
commit b645a36b9a
No known key found for this signature in database
GPG Key ID: 6506CE3E020FAF59
  1. 2
      src/main.c

@ -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…
Cancel
Save