mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
fix(bun, windows): Fix "A required privilege is not held by the client." (#5126)
This commit is contained in:
@@ -906,7 +906,7 @@ pub async fn handle_bun_job(
|
||||
#[cfg(windows)]
|
||||
{
|
||||
target = format!("{job_dir}\\main.js");
|
||||
symlink = std::os::windows::fs::symlink_dir(&local_path, &target);
|
||||
symlink = std::fs::hard_link(&local_path, &target);
|
||||
}
|
||||
|
||||
symlink.map_err(|e| {
|
||||
|
||||
Reference in New Issue
Block a user