modify:修改逻辑

This commit is contained in:
2024-07-24 20:03:49 +08:00
parent 1d071d5739
commit e7aad6b267
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,5 @@
#include <QApplication>
//#include <QDebug>
#include "updaterdialog.h"
void loadQss()
@@ -22,7 +23,6 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
loadQss();
UpdaterDialog w;
if(argc > 1)
{
@@ -36,9 +36,9 @@ int main(int argc, char *argv[])
APPNAME = "";
APPVERSION = "0";
}
// FlightDataAnalysis
CHECK_URL = ORIGIN_URL + APPNAME + "/updates.json";
UpdaterDialog w;
w.show();
return a.exec();
}