mirror of
https://github.com/dockur/windows.git
synced 2026-08-24 15:48:59 +01:00
feat: Disable menu animations on NT5 and Win9x (#2177)
This commit is contained in:
+14
-4
@@ -2100,7 +2100,8 @@ writeWin9xAnswerFile() {
|
||||
'[Install]' \
|
||||
"CopyFiles=$copyFiles" \
|
||||
"UpdateInis=$updateInis" \
|
||||
"AddReg=$addReg"
|
||||
"AddReg=$addReg" \
|
||||
'BitReg=Win9x.DisableAnimationsDefault'
|
||||
|
||||
if [ -n "$installDelReg" ]; then
|
||||
printf '%s\n' "DelReg=$installDelReg"
|
||||
@@ -2189,7 +2190,8 @@ writeWin9xAnswerFile() {
|
||||
printf '%s\n' \
|
||||
'' \
|
||||
'[Win9x.FirstLogon]' \
|
||||
"AddReg=$firstLogonAddReg"
|
||||
"AddReg=$firstLogonAddReg" \
|
||||
'BitReg=Win9x.DisableAnimations'
|
||||
|
||||
if [ -n "$firstLogonDelReg" ]; then
|
||||
printf '%s\n' "DelReg=$firstLogonDelReg"
|
||||
@@ -2480,7 +2482,7 @@ writeWin9xUserRegistry() {
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","SCRNSAVE.EXE",,""' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","ScreenSaveActive",,"0"' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","DragFullWindows",,"1"' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"100"' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","MenuShowDelay",,"0"' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","FontSmoothing",,"1"' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","SmoothScroll",0x00010001,0' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
|
||||
@@ -2506,7 +2508,7 @@ writeWin9xUserRegistry() {
|
||||
'HKCU,"Control Panel\Desktop","SCRNSAVE.EXE",,""' \
|
||||
'HKCU,"Control Panel\Desktop","ScreenSaveActive",,"0"' \
|
||||
'HKCU,"Control Panel\Desktop","DragFullWindows",,"1"' \
|
||||
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"100"' \
|
||||
'HKCU,"Control Panel\Desktop","MenuShowDelay",,"0"' \
|
||||
'HKCU,"Control Panel\Desktop","FontSmoothing",,"1"' \
|
||||
'HKCU,"Control Panel\Desktop","SmoothScroll",0x00010001,0' \
|
||||
'HKCU,"Control Panel\Desktop\WindowMetrics","MinAnimate",,"0"' \
|
||||
@@ -2525,6 +2527,14 @@ writeWin9xUserRegistry() {
|
||||
'HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","StartMenuLogOff",0x00010001,1'
|
||||
fi
|
||||
fi
|
||||
|
||||
printf '%s\n' \
|
||||
'' \
|
||||
'[Win9x.DisableAnimationsDefault]' \
|
||||
'HKU,".DEFAULT\Control Panel\Desktop","UserPreferencesMask",0,0x02,0' \
|
||||
'' \
|
||||
'[Win9x.DisableAnimations]' \
|
||||
'HKCU,"Control Panel\Desktop","UserPreferencesMask",0,0x02,0'
|
||||
}
|
||||
|
||||
writeWin9xMachineRegistry() {
|
||||
|
||||
Reference in New Issue
Block a user