mirror of
https://github.com/anchore/syft.git
synced 2026-11-03 16:06:36 +01:00
Avoid Finder window flash during install
Signed-off-by: Dan Luhring <dan.luhring@anchore.com>
This commit is contained in:
+1
-1
@@ -243,7 +243,7 @@ unpack() {
|
|||||||
extract_from_dmg() {
|
extract_from_dmg() {
|
||||||
dmg_file=$1
|
dmg_file=$1
|
||||||
mount_point="/Volumes/tmp-dmg"
|
mount_point="/Volumes/tmp-dmg"
|
||||||
hdiutil attach -quiet -mountpoint "${mount_point}" "${dmg_file}"
|
hdiutil attach -quiet -nobrowse -mountpoint "${mount_point}" "${dmg_file}"
|
||||||
cp -fR "${mount_point}/" ./
|
cp -fR "${mount_point}/" ./
|
||||||
hdiutil detach -quiet -force "${mount_point}"
|
hdiutil detach -quiet -force "${mount_point}"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user