Fix notarization

This commit is contained in:
Wojtek Mach 2022-06-28 13:35:03 +02:00
parent 6c384712e5
commit 11a73da183

View file

@ -53,7 +53,7 @@ defmodule AppBuilder.MacOS do
app_options: options app_options: options
) )
if options[:macos_build_dmg] do if options[:build_dmg] do
build_dmg(release, options) build_dmg(release, options)
end end
@ -62,7 +62,7 @@ defmodule AppBuilder.MacOS do
defp build_dmg(release, options) do defp build_dmg(release, options) do
app_name = Keyword.fetch!(options, :name) app_name = Keyword.fetch!(options, :name)
notarization = Keyword.fetch!(options, :macos_notarization) notarization = Keyword.fetch!(options, :notarization)
dmg_dir = "#{Mix.Project.build_path()}/dmg" dmg_dir = "#{Mix.Project.build_path()}/dmg"
app_dir = "#{dmg_dir}/#{app_name}.app" app_dir = "#{dmg_dir}/#{app_name}.app"