We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f89d3d commit 4db34a7Copy full SHA for 4db34a7
1 file changed
lib/package/macos.ex
@@ -312,8 +312,9 @@ defmodule Desktop.Deployment.Package.MacOS do
312
|> Enum.filter(&is_binary/1)
313
end
314
315
+ @prefixes ["/opt/homebrew/", "/usr/local/opt/", "/Users/"]
316
defp should_rewrite?(bin, dep) do
- String.starts_with?(dep, "/usr/local/opt/") or String.starts_with?(dep, "/Users/") or
317
+ Enum.any?(@prefixes, &String.starts_with?(dep, &1)) or
318
(String.starts_with?(dep, "@executable_path") and
319
not File.exists?(
320
Path.join(
0 commit comments