optimize ui

This commit is contained in:
arm64v8a
2023-04-10 13:57:36 +09:00
parent 2f22371777
commit 5d346addec
12 changed files with 98 additions and 11 deletions

View File

@@ -100,6 +100,11 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
if (!Preset::SingBox::DomainStrategy.contains(NekoRay::dataStore->outbound_domain_strategy)) {
NekoRay::dataStore->outbound_domain_strategy = "";
}
//
if (QDir("dashboard").isEmpty()) {
QDir().mkdir("dashboard");
QFile::copy(":/neko/dashboard-notice.html", "dashboard/index.html");
}
}
// top bar