mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-12-17 13:43:05 +08:00
Don't hardcode the location of erl.exe on windows
This commit is contained in:
parent
e152c9d1a7
commit
819d572511
1 changed files with 1 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ defmodule AppBundler.Windows do
|
|||
copy_template(manifest_eex_path, manifest_xml_path, release: release)
|
||||
|
||||
erl_exe = "#{app_path}/rel/erts-#{release.erts_version}/bin/erl.exe"
|
||||
[erl_exe | _] = Path.wildcard("#{app_path}/**/erl.exe")
|
||||
log(:green, :updating, Path.relative_to_cwd(erl_exe))
|
||||
Mix.Task.run("pe.update", ["--set-manifest", manifest_xml_path, erl_exe])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue