blob: 23765c1c4e04e07cfb3dd9e94f757cf3239dbf12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#![cfg(target_os = "windows")]
use neon::{prelude::ModuleContext, result::NeonResult};
mod fs;
mod shortcut;
#[neon::main]
fn main(mut cx: ModuleContext<'_>) -> NeonResult<()> {
cx.export_function("readShortcut", shortcut::read_shortcut)?;
cx.export_function("pipeIsAdminOwned", fs::pipe_is_admin_owned)?;
Ok(())
}
|