radicle: Fix file limit setting for FreeBSD

On FreeBSD systems, the file limits are of type `i64` in comparison to
`u64` on Linux systems.

Also fix `rad web` command name on Windows and FreeBSD.

Co-authored-by: cloudhead <cloudhead@radicle.xyz>
Co-authored-by: Shawn Webb <shawn.webb@hardenedbsd.org>
This commit is contained in:
Fintan Halpenny
2024-05-21 13:48:44 +02:00
committed by cloudhead
co-authored by cloudhead Shawn Webb
parent e9c5c02106
commit d4a69b433c
+2
View File
@@ -192,6 +192,8 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
}
if options.open {
#[cfg(any(target_os = "freebsd", target_os = "windows"))]
let cmd_name = "echo";
#[cfg(target_os = "macos")]
let cmd_name = "open";
#[cfg(target_os = "linux")]