Merge pull request 'iss: skip dir selection page' (#4) from feature/iss-disable-dirpage into release/v8.2.0

This commit is contained in:
Maxim Kadushkin
2024-09-05 10:44:11 +00:00

View File

@ -918,6 +918,13 @@ begin
if DirExists(path) then DelTree(path, true, true, true)
end;
#ifndef _WIN_XP
function ShouldSkipPage(PageID: Integer): Boolean;
begin
Result := (PageID = wpSelectDir) and not CheckCommandlineParam('/enabledirpage');
end;
#endif
function getAppMutex(P: String): String;
var
hWnd: Longint;