modify:修改逻辑

This commit is contained in:
2024-07-24 19:28:54 +08:00
parent dd43222a20
commit 1d071d5739
8 changed files with 76 additions and 46 deletions
+4 -3
View File
@@ -22,6 +22,7 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
loadQss();
UpdaterDialog w;
if(argc > 1)
{
@@ -32,12 +33,12 @@ int main(int argc, char *argv[])
}
else
{
APPNAME = "FlightDataAnalysis";
APPNAME = "";
APPVERSION = "0";
}
CHECK_URL = CHECK_URL + APPNAME + "/updates.json";
// FlightDataAnalysis
CHECK_URL = ORIGIN_URL + APPNAME + "/updates.json";
UpdaterDialog w;
w.show();
return a.exec();
}