修改计算规则

This commit is contained in:
2025-08-08 12:27:56 +08:00
parent f3324b1107
commit 5016c1d9d6
13 changed files with 1462 additions and 132 deletions

View File

@@ -56,6 +56,9 @@ use commands::relay_adapters::{
relay_station_test_connection, relay_station_get_usage_logs, relay_station_list_tokens,
relay_station_create_token, relay_station_update_token, relay_station_delete_token,
};
use commands::packycode_nodes::{
test_all_packycode_nodes, auto_select_best_node, get_packycode_nodes,
};
use process::ProcessRegistryState;
use std::sync::Mutex;
use tauri::Manager;
@@ -286,6 +289,11 @@ fn main() {
relay_station_create_token,
relay_station_update_token,
relay_station_delete_token,
// PackyCode Nodes
test_all_packycode_nodes,
auto_select_best_node,
get_packycode_nodes,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");