parent
f34a67ee89
commit
623422a14e
|
@ -101,6 +101,6 @@ $(document).ready(function()
|
||||||
|
|
||||||
$("#footer").click(function()
|
$("#footer").click(function()
|
||||||
{
|
{
|
||||||
location.replace("https://xlabs.dev");
|
location.replace("https://alterware.dev/");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -34,40 +34,17 @@ Copy-Item -Path "${rawFilesPath}\zone" -Destination "${rawFilesPath}\release\tem
|
||||||
Write-Host "Done copying zone files.`n"
|
Write-Host "Done copying zone files.`n"
|
||||||
|
|
||||||
# Create iw4x_00.iwd
|
# Create iw4x_00.iwd
|
||||||
Write-Host "Compressing iw4x_00.zip..."
|
for ($i = 0; $i -lt 6; $i++)
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_00\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_00.zip"
|
{
|
||||||
Write-Host "Renaming iw4x_00.zip to iw4x_00.iwd..."
|
${archName} = ("iw4x_{0:D2}" -f $i)
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_00.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_00.iwd"
|
Write-Host "Compressing ${archName}.zip..."
|
||||||
Write-Host "Cleaning up iw4x_00 directory..."
|
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\${archName}\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\${archName}.zip"
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_00"
|
Write-Host "Renaming ${archName}.zip to ${archName}.iwd..."
|
||||||
Write-Host "Finished compressing iw4x_00.iwd`n"
|
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\${archName}.zip" -Destination "${rawFilesPath}\release\temp\iw4x\${archName}.iwd"
|
||||||
|
Write-Host "Cleaning up ${archName} directory..."
|
||||||
# Create iw4x_01.iwd
|
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\${archName}"
|
||||||
Write-Host "Compressing iw4x_01.zip..."
|
Write-Host "Finished compressing ${archName}.iwd`n"
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_01\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_01.zip"
|
}
|
||||||
Write-Host "Renaming iw4x_01.zip to iw4x_01.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_01.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_01.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_01 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_01"
|
|
||||||
Write-Host "Finished compressing iw4x_01.iwd`n"
|
|
||||||
|
|
||||||
# Create iw4x_02.iwd
|
|
||||||
Write-Host "Compressing iw4x_02.zip..."
|
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_02\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_02.zip"
|
|
||||||
Write-Host "Renaming iw4x_02.zip to iw4x_02.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_02.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_02.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_02 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_02"
|
|
||||||
Write-Host "Finished compressing iw4x_02.iwd`n"
|
|
||||||
|
|
||||||
# Create iw4x_02.iwd
|
|
||||||
Write-Host "Compressing iw4x_03.zip..."
|
|
||||||
Compress-Archive -Path "${rawFilesPath}\release\temp\iw4x\iw4x_03\*" -DestinationPath "${rawFilesPath}\release\temp\iw4x\iw4x_03.zip"
|
|
||||||
Write-Host "Renaming iw4x_03.zip to iw4x_03.iwd..."
|
|
||||||
Move-Item -Path "${rawFilesPath}\release\temp\iw4x\iw4x_03.zip" -Destination "${rawFilesPath}\release\temp\iw4x\iw4x_03.iwd"
|
|
||||||
Write-Host "Cleaning up iw4x_03 directory..."
|
|
||||||
Remove-Item -Recurse "${rawFilesPath}\release\temp\iw4x\iw4x_03"
|
|
||||||
Write-Host "Finished compressing iw4x_03.iwd`n"
|
|
||||||
|
|
||||||
# Create release.zip
|
# Create release.zip
|
||||||
if (Test-Path -Path "${rawFilesPath}\release\release.zip") {
|
if (Test-Path -Path "${rawFilesPath}\release\release.zip") {
|
||||||
|
|
Loading…
Reference in New Issue