We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67bbbf commit d70289dCopy full SHA for d70289d
src/windows.rs
@@ -41,7 +41,7 @@ pub fn unregister(scheme: &str) -> Result<()> {
41
42
pub fn listen<F: FnMut(String) + Sync + Send + 'static>(mut handler: F) -> Result<()> {
43
windows_single::init(Box::new(move |args, _| {
44
- handler(args.join(" "));
+ handler(args.into_iter().nth(1).unwrap_or_default());
45
}));
46
47
Ok(())
0 commit comments