From fa915a462a22eaebffecd79ee606b57dc24acabb Mon Sep 17 00:00:00 2001
From: brogers5 <6869577+brogers5@users.noreply.github.com>
Date: Wed, 11 Dec 2024 23:15:22 -0500
Subject: [PATCH] Update to 2.18.1

---
 README.md                   | 2 +-
 imazing.json                | 4 ++++
 imazing.nuspec              | 8 ++++----
 tools/chocolateyinstall.ps1 | 4 ++--
 4 files changed, 11 insertions(+), 7 deletions(-)
 create mode 100644 imazing.json

diff --git a/README.md b/README.md
index 7c1c263..4aa421c 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 <!--markdownlint-disable-next-line MD033 MD045 -->
-# <img src="https://cdn.jsdelivr.net/gh/brogers5/chocolatey-package-imazing@ede691e547ad2556b970ab39623da4b8e319b8b9/imazing.svg" width="48" height="48"/> Chocolatey Package: [iMazing](https://community.chocolatey.org/packages/imazing)
+# <img src="https://cdn.jsdelivr.net/gh/brogers5/chocolatey-package-imazing@2bb0b9fc109139490c60bef0777617b7c1cd418d/imazing2.svg" width="48" height="48"/> Chocolatey Package: [iMazing](https://community.chocolatey.org/packages/imazing)
 
 [![Latest package version shield](https://img.shields.io/chocolatey/v/imazing.svg)](https://community.chocolatey.org/packages/imazing)
 [![Total package download count shield](https://img.shields.io/chocolatey/dt/imazing.svg)](https://community.chocolatey.org/packages/imazing)
diff --git a/imazing.json b/imazing.json
new file mode 100644
index 0000000..c8ecff4
--- /dev/null
+++ b/imazing.json
@@ -0,0 +1,4 @@
+{
+  "V2": "2.18.1",
+  "V3": "3.0.6"
+}
diff --git a/imazing.nuspec b/imazing.nuspec
index 477f6eb..d701dd0 100644
--- a/imazing.nuspec
+++ b/imazing.nuspec
@@ -3,13 +3,13 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
   <metadata>
     <id>imazing</id>
-    <version>3.0.6</version>
-    <packageSourceUrl>https://github.com/brogers5/chocolatey-package-imazing/tree/v3.0.6</packageSourceUrl>
+    <version>2.18.1</version>
+    <packageSourceUrl>https://github.com/brogers5/chocolatey-package-imazing/tree/v2.18.1</packageSourceUrl>
     <owners>MANICX100, sublym0nal</owners>
     <title>iMazing</title>
     <authors>DigiDNA</authors>
     <projectUrl>https://imazing.com/</projectUrl>
-    <iconUrl>https://cdn.jsdelivr.net/gh/brogers5/chocolatey-package-imazing@ede691e547ad2556b970ab39623da4b8e319b8b9/imazing.svg</iconUrl>
+    <iconUrl>https://cdn.jsdelivr.net/gh/brogers5/chocolatey-package-imazing@2bb0b9fc109139490c60bef0777617b7c1cd418d/imazing2.svg</iconUrl>
     <copyright>© DigiDNA SARL, 2008-2024. All rights reserved.</copyright>
     <licenseUrl>https://imazing.com/licensing-policy</licenseUrl>
     <requireLicenseAcceptance>true</requireLicenseAcceptance>
@@ -56,7 +56,7 @@ Gain powerful backup, data extraction, media, and file transfer capabilities, an
 * **Configurator** - Discover powerful tools designed to help sys admins configure and provision fleets of Apple mobile devices, including iPhone, iPad, iPod touch and Apple TV.
 * **Profile Editor** - Create, Edit, and Sign Apple Configuration Profiles.
 ]]></description>
-    <releaseNotes>https://downloads.imazing.com/windows/iMazing/3.0.6/release-notes.html</releaseNotes>
+    <releaseNotes>https://downloads.imazing.com/windows/iMazing/2.18.1/release-notes.html</releaseNotes>
     <dependencies>
       <dependency id="dotnetfx" version="4.6.2.0" />
       <!--Version should be 3.1.0.1, but no such version has been published to the Community Repository-->
diff --git a/tools/chocolateyinstall.ps1 b/tools/chocolateyinstall.ps1
index ca6cd03..079b56f 100644
--- a/tools/chocolateyinstall.ps1
+++ b/tools/chocolateyinstall.ps1
@@ -3,9 +3,9 @@
 $packageArgs = @{
     packageName    = $env:ChocolateyPackageName
     fileType       = 'EXE'
-    url            = 'https://downloads.imazing.com/windows/iMazing/3.0.6/iMazing_3.0.6.exe'
+    url            = 'https://downloads.imazing.com/windows/iMazing/2.18.1/iMazing_2.18.1.exe'
     softwareName   = 'iMazing'
-    checksum       = '76c97ce8f099642ed932ec5179f3fb532d552341a492479e91ea27597e33ac96'
+    checksum       = '1f07916a704c78b75714e159af61f83b109d37aa2ede4c5287f03cd3abcc5b6f'
     checksumType   = 'sha256'
     validExitCodes = @(0)
     silentArgs     = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /LOG=`"$($env:TEMP)\$($packageName).$($env:chocolateyPackageVersion).Install.log"