Compare commits
4 commits
05ba919379
...
974bc33a89
Author | SHA1 | Date | |
---|---|---|---|
974bc33a89 | |||
a199dc30b2 | |||
8e2c1f1860 | |||
6ee4d5a22d |
3 changed files with 22 additions and 4 deletions
20
deploy.sh
20
deploy.sh
|
@ -26,7 +26,8 @@ else
|
|||
bootPath="/media/boot";
|
||||
dataPath="/media/data";
|
||||
setupLabel="winiso";
|
||||
networkDriverArchive="./$buildDir/network.zip";
|
||||
intelNetworkArchive="./$buildDir/intelNetwork.zip";
|
||||
marvellNetworkArchive="./$buildDir/marvellNetwork.zip";
|
||||
gitArchive="$(realpath "./$buildDir/git.msi")";
|
||||
pwshArchive="./$buildDir/pwsh.zip";
|
||||
editionField="Edition ID";
|
||||
|
@ -34,7 +35,12 @@ else
|
|||
mkdir -p "$buildDir";
|
||||
cp -r winfs/* "$overlayDir";
|
||||
|
||||
if [ ! -f "$networkDriverArchive" ]
|
||||
if [ ! -f "$intelNetworkArchive" ]
|
||||
then
|
||||
curl -L "https://dlcdnets.asus.com/pub/ASUS/mb/04LAN/DRV_LAN_Intel_I211_UWD_TP_W10_64_VER12151841_20190306R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA" -o "$intelNetworkArchive";
|
||||
fi;
|
||||
|
||||
if [ ! -f "$marvellNetworkArchive" ]
|
||||
then
|
||||
curl -L "https://dlcdnets.asus.com/pub/ASUS/mb/04LAN/DRV_LAN_Marvell_TP_TSD_W11_64_V3130_20211118R.zip?model=ROG%20ZENITH%20EXTREME%20ALPHA" -o "$networkDriverArchive";
|
||||
fi;
|
||||
|
@ -50,7 +56,15 @@ else
|
|||
fi;
|
||||
|
||||
mkdir -p "$overlayDir/drivers";
|
||||
unzip "$networkDriverArchive" -d "$overlayDir/drivers/Network";
|
||||
tempDir="$(mktemp -d)";
|
||||
unzip "$intelNetworkArchive" -d "$tempDir";
|
||||
cp -r "$tempDir/x64" "$overlayDir/drivers/IntelNetwork";
|
||||
rm -rf "$tempDir";
|
||||
|
||||
tempDir="$(mktemp -d)";
|
||||
unzip "$marvellNetworkArchive" -d "$tempDir";
|
||||
cp -r "$tempDir/x64" "$overlayDir/drivers/MarvellNetwork";
|
||||
rm -rf "$tempDir";
|
||||
|
||||
mkdir -p "$overlayDir/git";
|
||||
pushd "$overlayDir/git" > /dev/null;
|
||||
|
|
3
winfs/Scripts/Drivers.ps1
Normal file
3
winfs/Scripts/Drivers.ps1
Normal file
|
@ -0,0 +1,3 @@
|
|||
Get-ChildItem -Recurse X:\drivers "*.inf" | ForEach-Object {
|
||||
drvload $_;
|
||||
};
|
|
@ -1,5 +1,6 @@
|
|||
@echo off
|
||||
wpeutil SetKeyboardLayout 0807:00000807
|
||||
drvload X:\drivers\Network\x64\win10-win11\aqnic650.inf
|
||||
echo Loading Drivers...
|
||||
X:\PowerShell\pwsh.exe -file "X:\Scripts\Drivers.ps1";
|
||||
echo Launching Startup Script...
|
||||
start X:\PowerShell\pwsh.exe -NoExit -ExecutionPolicy bypass -file "X:\Scripts\Startup.ps1"
|
||||
|
|
Loading…
Reference in a new issue