mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-06 19:46:00 +08:00
Add vendor/otp/erts-VSN/bin to additional paths on macOS
Just for consistency.
This commit is contained in:
parent
7475e29232
commit
dd68f4fe2c
1 changed files with 8 additions and 10 deletions
18
mix.exs
18
mix.exs
|
@ -131,6 +131,12 @@ defmodule Livebook.MixProject do
|
|||
defp releases do
|
||||
macos_notarization = macos_notarization()
|
||||
|
||||
additional_paths = [
|
||||
"rel/vendor/otp/erts-#{:erlang.system_info(:version)}/bin",
|
||||
"rel/vendor/otp/bin",
|
||||
"rel/vendor/elixir/bin"
|
||||
]
|
||||
|
||||
[
|
||||
livebook: [
|
||||
include_executables_for: [:unix],
|
||||
|
@ -168,20 +174,12 @@ defmodule Livebook.MixProject do
|
|||
icon_path: "rel/app/icon-macos.png",
|
||||
build_dmg: macos_notarization != nil,
|
||||
notarization: macos_notarization,
|
||||
additional_paths: [
|
||||
"rel/vendor/otp/bin",
|
||||
"rel/vendor/elixir/bin",
|
||||
"/usr/local/bin"
|
||||
]
|
||||
additional_paths: additional_paths ++ ["/usr/local/bin"]
|
||||
],
|
||||
windows: [
|
||||
icon_path: "rel/app/icon.ico",
|
||||
build_installer: true,
|
||||
additional_paths: [
|
||||
"rel/vendor/otp/erts-#{:erlang.system_info(:version)}/bin",
|
||||
"rel/vendor/otp/bin",
|
||||
"rel/vendor/elixir/bin"
|
||||
]
|
||||
additional_paths: additional_paths
|
||||
]
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue