Skip to content

Commit c5c0986

Browse files
committed
force signature if needed
1 parent a37e06d commit c5c0986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/package/macos.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ defmodule Desktop.Deployment.Package.MacOS do
355355
# The install_name_tool does leave the binary with an invalid signature. Invalid signatures
356356
# are not launchable, so to make it locally runnable for development (without a proper certificate)
357357
# we sign it with an empty signature.
358-
cmd!("codesign", ["-s", "-", object])
358+
cmd!("codesign", ["-f", "-s", "-", object])
359359
end
360360

361361
def rewrite_deps(object, fun) do

0 commit comments

Comments
 (0)