mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
improve switch core
use different datastore for each core
This commit is contained in:
@@ -299,7 +299,7 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
if (!fn.isEmpty()) {
|
||||
NekoRay::Routing r;
|
||||
r.load_control_force = true;
|
||||
r.fn = "routes/" + fn;
|
||||
r.fn = ROUTES_PREFIX + fn;
|
||||
if (r.Load()) {
|
||||
auto btn = QMessageBox::question(GetMessageBoxParent(), software_name,
|
||||
tr("Load routing and apply: %1").arg(fn) + "\n" + r.toString());
|
||||
|
||||
Reference in New Issue
Block a user