Skip to content

Commit e8b7e21

Browse files
committed
Merge pull request #13 from viteinfinite/fix-macos-binary
Fix MacOS binary file detection
2 parents ad9b9eb + aab3a15 commit e8b7e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/slather/project.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def binary_file
140140

141141
def binary_file_for_app(app_bundle_file)
142142
app_bundle_file_name_noext = Pathname.new(app_bundle_file).basename.to_s.gsub(".app", "")
143-
"#{app_bundle_file}/#{app_bundle_file_name_noext}"
143+
Dir["#{app_bundle_file}/**/#{app_bundle_file_name_noext}"].first
144144
end
145145

146146
def binary_file_for_dynamic_lib(framework_bundle_file)

0 commit comments

Comments
 (0)