Skip to content

Commit 927f349

Browse files
Update Setup.iss
1 parent 70fe8e4 commit 927f349

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Setup.iss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,15 @@ var
167167
FileCopyResult: Boolean;
168168
begin
169169
// Extract necessary files to temp directory
170-
if not ExtractTemporaryFile('getlist.bat') then
171-
begin
170+
try
171+
ExtractTemporaryFile('getlist.bat');
172+
except
172173
Log('Warning: Failed to extract getlist.bat to temporary directory');
173174
end;
174175
175-
if not ExtractTemporaryFile('gpulist.txt') then
176-
begin
176+
try
177+
ExtractTemporaryFile('gpulist.txt');
178+
except
177179
Log('Warning: Failed to extract gpulist.txt to temporary directory');
178180
end;
179181

0 commit comments

Comments
 (0)