From 3d2d0d66c4359366b9ef3d6321888702af3ba524 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 5 May 2021 10:23:01 +0200 Subject: [PATCH] Update 2.7 --- CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 | 6 ++++++ CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 create mode 100644 CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 b/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/CAZ - Capture Zones/CAZ-002 - Attack Zone/pack.ps1 @@ -0,0 +1,6 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +cd "_unpacked" +. 7z a -r -y -tzip "..\$file.miz" * +cd .. diff --git a/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 b/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/CAZ - Capture Zones/CAZ-002 - Attack Zone/unpack.ps1 @@ -0,0 +1,7 @@ +$dir = split-path -parent $MyInvocation.MyCommand.Definition +cd $dir +$file = Split-Path $dir -leaf +Remove-Item .\_unpacked -Force -Recurse +md "_unpacked" +cd "_unpacked" +. 7z x -r -y "..\$file.miz" *