diff --git a/src/cli/commands/install.rs b/src/cli/commands/install.rs index ab008d8..6daf0f6 100644 --- a/src/cli/commands/install.rs +++ b/src/cli/commands/install.rs @@ -204,7 +204,7 @@ impl InstallCommand { continue; } - let bin_file = bin_folder.join(format!("{alias}.luau")); + let bin_file = bin_folder.join(alias); std::fs::write(&bin_file, bin_link_file(alias)) .context("failed to write bin link file")?; diff --git a/src/main.rs b/src/main.rs index 32a0dce..1e51a2f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -103,7 +103,7 @@ fn run() -> anyhow::Result<()> { let status = std::process::Command::new("lune") .arg("run") - .arg(exe.with_extension("luau")) + .arg(exe.with_extension("")) .args(std::env::args_os().skip(1)) .current_dir(project_root_dir) .status()