mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
fix: don't add luau extension for unix
This commit is contained in:
parent
4f03155af0
commit
17c2196522
2 changed files with 2 additions and 2 deletions
|
@ -204,7 +204,7 @@ impl InstallCommand {
|
||||||
continue;
|
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))
|
std::fs::write(&bin_file, bin_link_file(alias))
|
||||||
.context("failed to write bin link file")?;
|
.context("failed to write bin link file")?;
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ fn run() -> anyhow::Result<()> {
|
||||||
|
|
||||||
let status = std::process::Command::new("lune")
|
let status = std::process::Command::new("lune")
|
||||||
.arg("run")
|
.arg("run")
|
||||||
.arg(exe.with_extension("luau"))
|
.arg(exe.with_extension(""))
|
||||||
.args(std::env::args_os().skip(1))
|
.args(std::env::args_os().skip(1))
|
||||||
.current_dir(project_root_dir)
|
.current_dir(project_root_dir)
|
||||||
.status()
|
.status()
|
||||||
|
|
Loading…
Reference in a new issue