core: 完善文件类型检查

This commit is contained in:
bin456789
2024-09-07 20:53:00 +08:00
parent 785c813ea8
commit 9fa03c14bd
2 changed files with 68 additions and 46 deletions

View File

@ -3700,7 +3700,9 @@ install_windows() {
esac
# 排除 $PLUGINSDIR $TEMP
exclude='$*'
7z x $drv/Citrix_xensetup.exe -o$drv/aws/ -ao$override -x!$exclude
7z x $drv/Citrix_xensetup.exe -o$drv/xen/ -ao$override -x!$exclude
cp_drivers $drv/xen
}
# aws xen
@ -3743,6 +3745,8 @@ install_windows() {
download https://xenbits.xenproject.org/pvdrivers/win/$part.tar $drv/$part.tar
tar -xf $drv/$part.tar -C $drv/xen/
done
cp_drivers $drv/xen
}
# kvm