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

Commit f479ce4

Browse files
committed
Replace calls with Tmp()
1 parent fed1b8c commit f479ce4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ElixirWeb.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ begin
119119
ListBoxesToCheck[1] := GlobalPageSelRelease.CheckListBox;
120120
121121
CacheSelectedRelease := FindSelectedRelease(ListBoxesToCheck, GlobalElixirReleases);
122-
idpAddFile(CacheSelectedRelease.URL, ExpandConstant('{tmp}\Precompiled.zip'));
122+
idpAddFile(CacheSelectedRelease.URL, Tmp('Precompiled.zip'));
123123
idpDownloadAfter(wpPreparing);
124124
end;
125125
end;
@@ -172,8 +172,8 @@ function InitializeSetup(): Boolean;
172172
begin
173173
Result := True;
174174
175-
GlobalElixirCSVFilePath := ExpandConstant('{tmp}\' + GetURLFilePart('{#ELIXIR_CSV_URL}'));
176-
GlobalErlangCSVFilePath := ExpandConstant('{tmp}\' + GetURLFilePart('{#ERLANG_CSV_URL}'));
175+
GlobalElixirCSVFilePath := Tmp(GetURLFilePart('{#ELIXIR_CSV_URL}'));
176+
GlobalErlangCSVFilePath := Tmp(GetURLFilePart('{#ERLANG_CSV_URL}'));
177177
178178
if not idpDownloadFile('{#ELIXIR_CSV_URL}', GlobalElixirCSVFilePath) then begin
179179
MsgBox('Error: Downloading {#ELIXIR_CSV_URL} failed. Setup cannot continue.', mbInformation, MB_OK);

0 commit comments

Comments
 (0)