mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-07 20:16:31 +08:00
Fix notarization
This commit is contained in:
parent
6c384712e5
commit
11a73da183
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue