Skip to content

Commit

Permalink
v4.15.9
Browse files Browse the repository at this point in the history
- bug fixed
  • Loading branch information
caglaryalcin committed Oct 7, 2024
1 parent 21358e8 commit e6f99ea
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions set.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,12 @@ Function SystemSettings {
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0A, 0x00, 0x00, 0x00, 0x17, 0x01, 0x00, 0x00,
0x90, 0x4F, 0x1E, 0x84, 0x59, 0xFF, 0x16, 0x4D,
0x89, 0x47, 0xE8, 0x1B, 0xBF, 0xFA, 0xB3, 0x6D,
0x02, 0x00, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00,
0x90, 0x4F, 0x1E, 0x84, 0x59, 0xFF, 0x16, 0x4D,
0x89, 0x47, 0xE8, 0x1B, 0xBF, 0xFA, 0xB3, 0x6D,
0x0B, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0E, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x04, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00,
0x30, 0xF1, 0x25, 0xB7, 0xEF, 0x47, 0x1A, 0x10,
0xA5, 0xF1, 0x02, 0x60, 0x8C, 0x9E, 0xEB, 0xAC,
0x0C, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00
Expand Down Expand Up @@ -561,6 +561,17 @@ Function SystemSettings {
}
}
}

# Set control panel view
$Key1 = "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU"
$Data1 = "06 00 00 00 02 00 00 00 03 00 00 00 01 00 00 00 07 00 00 00 05 00 00 00 04 00 00 00 00 00 00 00 FF FF FF FF"
$byteArray1 = $Data1 -split ' ' | ForEach-Object { [byte]::Parse($_, [System.Globalization.NumberStyles]::HexNumber) }
Set-ItemProperty -Path $Key1 -Name "MRUListEx" -Value $byteArray1 -Type Binary -ErrorAction SilentlyContinue

$Key2 = "HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\24\Shell\{D674391B-52D9-4E07-834E-67C98610F39D}"
$Data2 = "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FD DF DF FD 10 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 18 00 00 00 30 F1 25 B7 EF 47 1A 10 A5 F1 02 60 8C 9E EB AC 0A 00 00 00 17 01 00 00 90 4F 1E 84 59 FF 16 4D 89 47 E8 1B BF FA B3 6D 02 00 00 00 C0 00 00 00 90 4F 1E 84 59 FF 16 4D 89 47 E8 1B BF FA B3 6D 0B 00 00 00 50 00 00 00 30 F1 25 B7 EF 47 1A 10 A5 F1 02 60 8C 9E EB AC 0C 00 00 00 50 00 00 00 53 7D EF 0C 64 FA D1 11 A2 03 00 00 F8 1F ED EE 08 00 00 00 80 00 00 00"
$byteArray2 = $Data2 -split ' ' | ForEach-Object { [byte]::Parse($_, [System.Globalization.NumberStyles]::HexNumber) }
Set-ItemProperty -Path $Key2 -Name "ColInfo" -Value $byteArray2 -Type Binary -ErrorAction SilentlyContinue

# Remove ShareX from context menu
reg delete "HKEY_CLASSES_ROOT\*\shell\ShareX" /f *> $null
Expand Down

0 comments on commit e6f99ea

Please sign in to comment.