This commit is contained in:
arm64v8a
2022-09-27 12:39:40 +08:00
parent 94c893b194
commit e44279742c
12 changed files with 193 additions and 101 deletions

View File

@@ -36,7 +36,10 @@ int main(int argc, char *argv[]) {
// Clean
QDir::setCurrent(QApplication::applicationDirPath());
QFile::remove("updater.old");
if (QFile::exists("updater.old")) {
QFile::remove("updater.old");
QFile::remove("sing-box.exe"); // v1.11
}
#ifndef Q_OS_WIN
if (!QFile::exists("updater")) {
QFile::link("launcher", "updater");