We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89bbf11 commit e3dcce9Copy full SHA for e3dcce9
lib/package/macos.ex
@@ -133,7 +133,14 @@ defmodule Desktop.Deployment.Package.MacOS do
133
app_root = Path.join(build_root, "#{pkg.name}.app")
134
out_file = Path.join(build_root, "#{pkg.name}-#{vsn}.pkg")
135
args = ["--component", app_root, "/Applications"]
136
- args = if developer_id != nil, do: ["--sign", developer_id] ++ args, else: args
+
137
+ args =
138
+ if developer_id != nil do
139
+ ["--keychain", keychain(), "--sign", developer_id] ++ args
140
+ else
141
+ args
142
+ end
143
144
cmd!("productbuild", args ++ [out_file])
145
end
146
0 commit comments