Skip to content

Commit

Permalink
Fix the Order of Windows Installer Flags (#260)
Browse files Browse the repository at this point in the history
Following the documentation at https://conda.github.io/constructor/cli-options/#windows-installers, the `/S` flag should appear at the end.
  • Loading branch information
RoyiAvital committed Jun 26, 2024
1 parent b43539a commit 80c7334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Conda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ https://github.com/JuliaPy/Conda.jl.
run(`$installer -b -f -p $PREFIX`)
end
if Sys.iswindows()
run(Cmd(`$installer /S /NoShortcuts=1 /NoRegistry=1 /AddToPath=0 /RegisterPython=0 /D=$PREFIX`, windows_verbatim=true))
run(Cmd(`$installer /NoShortcuts=1 /NoRegistry=1 /AddToPath=0 /RegisterPython=0 /S /D=$PREFIX`, windows_verbatim=true))
end
write("$PREFIX/condarc-julia.yml", "auto_update_conda: false")
end
Expand Down

0 comments on commit 80c7334

Please sign in to comment.