-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.rs
More file actions
47 lines (46 loc) · 1.02 KB
/
build.rs
File metadata and controls
47 lines (46 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
const COMMANDS: &[&str] = &[
"update_controller",
"update_secret",
"get_version",
"flush_fakeip",
"flush_dns",
"get_connections",
"close_all_connections",
"close_connection",
"get_groups",
"get_group_by_name",
"delay_group",
"get_proxy_providers",
"get_proxy_provider_by_name",
"update_proxy_provider",
"healthcheck_proxy_provider",
"healthcheck_node_in_provider",
"get_proxies",
"get_proxy_by_name",
"select_node_for_group",
"unfixed_proxy",
"delay_proxy_by_name",
"get_rules",
"get_rule_providers",
"update_rule_provider",
"get_base_config",
"reload_config",
"patch_base_config",
"update_geo",
"restart",
"upgrade_core",
"upgrade_ui",
"upgrade_geo",
"ws_traffic",
"ws_memory",
"ws_connections",
"ws_logs",
"ws_disconnect",
"clear_all_ws_connections",
];
fn main() {
tauri_plugin::Builder::new(COMMANDS)
.android_path("android")
.ios_path("ios")
.build();
}