Skip to content

Commit

Permalink
[73_37] Fix hdiuitl by adding /usr/bin/sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Nov 25, 2024
1 parent c8e200e commit 95f1b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,6 @@ target("research_packager") do
local app_dir = target:installdir() .. "/../../"
os.cp("$(buildir)/Info.plist", app_dir .. "/Contents")
os.execv("codesign", {"--force", "--deep", "--sign", "-", app_dir})
os.execv("hdiutil create $(buildir)/" .. dmg_name .. " -fs HFS+ -srcfolder " .. app_dir)
os.execv("/usr/bin/sudo /usr/bin/hdiutil create $(buildir)/" .. dmg_name .. " -fs HFS+ -srcfolder " .. app_dir)
end)
end

0 comments on commit 95f1b52

Please sign in to comment.