Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Jul 11, 2023
1 parent ad86b89 commit 4a353e8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -5922,8 +5922,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int
# Store all fixed disks' letters to use them within Show-Menu function
# https://learn.microsoft.com/en-us/dotnet/api/system.io.drivetype?view=net-7.0#fields
$DriveLetters = @((Get-CimInstance -ClassName CIM_LogicalDisk | Where-Object -FilterScript {$_.DriveType -eq 3}).DeviceID | Sort-Object)
# Add $Skip to $DriveLetters array
$DriveLetters = $DriveLetters += $Skip

# Desktop
Write-Information -MessageData "" -InformationAction Continue
Expand Down
2 changes: 0 additions & 2 deletions src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -6309,8 +6309,6 @@ public extern static int SHSetKnownFolderPath(ref Guid folderId, uint flags, Int
# Store all fixed disks' letters to use them within Show-Menu function
# https://learn.microsoft.com/en-us/dotnet/api/system.io.drivetype?view=net-7.0#fields
$DriveLetters = @((Get-CimInstance -ClassName CIM_LogicalDisk | Where-Object -FilterScript {$_.DriveType -eq 3}).DeviceID | Sort-Object)
# Add $Skip to $DriveLetters array
$DriveLetters = $DriveLetters += $Skip

# Desktop
Write-Information -MessageData "" -InformationAction Continue
Expand Down

0 comments on commit 4a353e8

Please sign in to comment.