Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit a3751fb

Browse files
committed
Update constant/check functions to use GetLatestErlangPath
1 parent 0072683 commit a3751fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ElixirWeb.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ begin
182182
end;
183183
184184
function CheckToInstallErlang: Boolean; begin
185-
Result := (GetExistingErlangPath(GlobalErlangData.ERTSVersion) = ''); end;
185+
Result := (GetLatestErlangPath = ''); end;
186186
function CheckToAddExistingErlangPath: Boolean; begin
187187
Result := (not CheckToInstallErlang) and (not ErlangInPath); end;
188188
@@ -195,6 +195,6 @@ function ConstGetErlangExe32(Param: String): String; begin
195195
function ConstGetErlangExe64(Param: String): String; begin
196196
Result := GlobalErlangData.Exe64; end;
197197
function ConstGetExistingErlangPath(Param: String): String; begin
198-
Result := GetExistingErlangPath(GlobalErlangData.ERTSVersion); end;
198+
Result := GetLatestErlangPath; end;
199199
function ConstGetSelectedReleaseVersion(Param: String): String; begin
200200
Result := CacheSelectedRelease.Version; end;

0 commit comments

Comments
 (0)