mirror of
https://github.com/egor-white/zaprett.git
synced 2026-01-01 16:19:45 +05:00
idk rename main
This commit is contained in:
@@ -4,6 +4,5 @@ use std::ffi::c_char;
|
||||
|
||||
#[link(name = "nfqws", kind = "static")]
|
||||
unsafe extern "C" {
|
||||
#[link_name = "main"]
|
||||
pub fn nfqws_main(argc: libc::c_int, argv: *const *const c_char) -> libc::c_int;
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@ async fn main() {
|
||||
Some(Commands::ModuleVer) => module_version(),
|
||||
Some(Commands::BinVer) => todo!(), //bin_version(),
|
||||
//None => println!("zaprett installed. Join us: t.me/zaprett_module"),
|
||||
None => run_nfqws("-v".to_string()).await.unwrap(),
|
||||
None => run_nfqws("--version".to_string()).await.unwrap(),
|
||||
}
|
||||
tokio::signal::ctrl_c().await.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user