Skip to content

Commit 814b121

Browse files
authored
Merge pull request #459 from sevenc-nanashi/feat/headless-installer
feat: use msys2's headless installer
2 parents 7a7d820 + c29bd92 commit 814b121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby_installer/build/components/01_msys2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def execute(args)
3232
downloaded_path = download(msys2_download_uri, hash)
3333

3434
puts "Run the MSYS2 installer ..."
35-
if run_verbose(downloaded_path) && msys.with_msys_apps_enabled { run_verbose("sh", "-lc", "true") }
35+
if run_verbose(downloaded_path, "install", "--root", File.join(RbConfig::TOPDIR, "msys64"), "--accept-messages", "--confirm-command") && msys.with_msys_apps_enabled { run_verbose("sh", "-lc", "true") }
3636
puts green(" Success")
3737
else
3838
puts red(" Failed")

0 commit comments

Comments
 (0)