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

Commit fed1b8c

Browse files
committed
Tmp helper function to encapsulate ExpandConstant({tmp})
1 parent 320aa04 commit fed1b8c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/util.iss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515

1616
[Code]
1717
18+
function Tmp(Path: String): String;
19+
begin
20+
Result := ExpandConstant('{tmp}\') + Path;
21+
end;
22+
1823
function SplitStringRec(Str: String; Delim: String; StrList: TStringList): TStringList;
1924
var
2025
StrHead: String;

0 commit comments

Comments
 (0)