commit
9a857ccf9b
@ -106,7 +106,7 @@ module UnpackStrategy
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.can_extract?(path)
|
def self.can_extract?(path)
|
||||||
stdout, _, status = system_command("hdiutil", args: ["imageinfo", path], print_stderr: false)
|
stdout, _, status = system_command("hdiutil", args: ["imageinfo", "-format", path], print_stderr: false)
|
||||||
status.success? && !stdout.empty?
|
status.success? && !stdout.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user