mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
fix: Disable drivers incompatible with Win2025
This commit is contained in:
parent
fc5132be21
commit
d3056fd2a4
1 changed files with 6 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ updateXML() {
|
||||||
|
|
||||||
[ -z "$YRES" ] && YRES="720"
|
[ -z "$YRES" ] && YRES="720"
|
||||||
[ -z "$XRES" ] && XRES="1280"
|
[ -z "$XRES" ] && XRES="1280"
|
||||||
|
|
||||||
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$YRES<\/VerticalResolution>/g" "$asset"
|
sed -i "s/<VerticalResolution>1080<\/VerticalResolution>/<VerticalResolution>$YRES<\/VerticalResolution>/g" "$asset"
|
||||||
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$XRES<\/HorizontalResolution>/g" "$asset"
|
sed -i "s/<HorizontalResolution>1920<\/HorizontalResolution>/<HorizontalResolution>$XRES<\/HorizontalResolution>/g" "$asset"
|
||||||
|
|
||||||
|
|
@ -705,6 +705,11 @@ addDriver() {
|
||||||
[[ "${driver,,}" == "viorng" ]] && return 0
|
[[ "${driver,,}" == "viorng" ]] && return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${id,,}" == "win2025"* ]]; then
|
||||||
|
[[ "${driver,,}" == "smbus" ]] && return 0
|
||||||
|
[[ "${driver,,}" == "pvpanic" ]] && return 0
|
||||||
|
fi
|
||||||
|
|
||||||
local dest="$path/$target/$driver"
|
local dest="$path/$target/$driver"
|
||||||
mv "$path/$driver/$folder" "$dest"
|
mv "$path/$driver/$folder" "$dest"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue