From 752d8b645c7145a73838ff21baa8134e8651785f Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 5 May 2021 10:34:57 +0200 Subject: [PATCH] Update 2.7 dev --- .../CAS-112 - Moose Detection and AI_CAS_ZONE/pack.ps1 | 6 ++++++ .../CAS-112 - Moose Detection and AI_CAS_ZONE/unpack.ps1 | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/pack.ps1 create mode 100644 CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/unpack.ps1 diff --git a/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/pack.ps1 b/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/pack.ps1 new file mode 100644 index 0000000000..caa79efcaf --- /dev/null +++ b/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_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/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/unpack.ps1 b/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_ZONE/unpack.ps1 new file mode 100644 index 0000000000..0206e08131 --- /dev/null +++ b/CAS - Close Air Support/CAS-112 - Moose Detection and AI_CAS_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" *