From 11a73da1837727158136f65175acfd947ad6a60a Mon Sep 17 00:00:00 2001 From: Wojtek Mach Date: Tue, 28 Jun 2022 13:35:03 +0200 Subject: [PATCH] Fix notarization --- app_builder/lib/app_builder/macos.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_builder/lib/app_builder/macos.ex b/app_builder/lib/app_builder/macos.ex index dd87df419..787b9057e 100644 --- a/app_builder/lib/app_builder/macos.ex +++ b/app_builder/lib/app_builder/macos.ex @@ -53,7 +53,7 @@ defmodule AppBuilder.MacOS do app_options: options ) - if options[:macos_build_dmg] do + if options[:build_dmg] do build_dmg(release, options) end @@ -62,7 +62,7 @@ defmodule AppBuilder.MacOS do defp build_dmg(release, options) do app_name = Keyword.fetch!(options, :name) - notarization = Keyword.fetch!(options, :macos_notarization) + notarization = Keyword.fetch!(options, :notarization) dmg_dir = "#{Mix.Project.build_path()}/dmg" app_dir = "#{dmg_dir}/#{app_name}.app"