mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
UPD: Register shell file source before network
This commit is contained in:
parent
1313993d9a
commit
402ce8339c
1 changed files with 7 additions and 7 deletions
|
|
@ -580,13 +580,6 @@ begin
|
|||
Screen.AddHandlerFormVisibleChanged(TScreenFormEvent(Handler), True);
|
||||
end;
|
||||
{$ENDIF}
|
||||
// Register Windows Subsystem for Linux (WSL) file source
|
||||
if CheckWin32Version(10) then
|
||||
begin
|
||||
RegisterVirtualFileSource('Linux', TWslFileSource, TWslFileSource.Available);
|
||||
end;
|
||||
// Register network file source
|
||||
RegisterVirtualFileSource(rsVfsNetwork, TWinNetFileSource);
|
||||
// Register shell folder file source
|
||||
if (Win32MajorVersion > 5) then
|
||||
begin
|
||||
|
|
@ -597,6 +590,13 @@ begin
|
|||
begin
|
||||
RegisterVirtualFileSource(rsVfsRecycleBin, TRecycleBinFileSource);
|
||||
end;
|
||||
// Register Windows Subsystem for Linux (WSL) file source
|
||||
if CheckWin32Version(10) then
|
||||
begin
|
||||
RegisterVirtualFileSource('Linux', TWslFileSource, TWslFileSource.Available);
|
||||
end;
|
||||
// Register network file source
|
||||
RegisterVirtualFileSource(rsVfsNetwork, TWinNetFileSource);
|
||||
|
||||
// If run under administrator
|
||||
if (IsUserAdmin = dupAccept) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue