From d0ecc41ff3c1ded4c8cf524e45395485d50fcf6e Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Sun, 10 Nov 2024 15:18:03 +0100 Subject: [PATCH] To Chocolatey-packages --- automatic/mozillacacheview/README.md | 14 ------- automatic/mozillacacheview/legal/LICENSE.txt | 1 - .../mozillacacheview/legal/VERIFICATION.txt | 19 --------- .../mozillacacheview/mozillacacheview.nuspec | 37 ------------------ .../tools/chocolateyInstall.ps1 | 16 -------- automatic/mozillacacheview/update.ps1 | 32 --------------- icons/mozillacacheview.png | Bin 316 -> 0 bytes 7 files changed, 119 deletions(-) delete mode 100644 automatic/mozillacacheview/README.md delete mode 100644 automatic/mozillacacheview/legal/LICENSE.txt delete mode 100644 automatic/mozillacacheview/legal/VERIFICATION.txt delete mode 100644 automatic/mozillacacheview/mozillacacheview.nuspec delete mode 100644 automatic/mozillacacheview/tools/chocolateyInstall.ps1 delete mode 100644 automatic/mozillacacheview/update.ps1 delete mode 100644 icons/mozillacacheview.png diff --git a/automatic/mozillacacheview/README.md b/automatic/mozillacacheview/README.md deleted file mode 100644 index 661b900..0000000 --- a/automatic/mozillacacheview/README.md +++ /dev/null @@ -1,14 +0,0 @@ -[![](https://img.shields.io/chocolatey/v/mozillacacheview?color=green&label=mozillacacheview)](https://chocolatey.org/packages/mozillacacheview) [![](https://img.shields.io/chocolatey/dt/mozillacacheview)](https://chocolatey.org/packages/mozillacacheview) - -## MozillaCacheView - -MozillaCacheView is a small utility that reads the cache folder of Firefox/Mozilla/Netscape Web browsers, and displays the list of all files currently stored in the cache. - -For each cache file, the following information is displayed: URL, Content type, File size, Last modified time, Last fetched time, Expiration time, Fetch count, Server name, and more. - -You can easily select one or more items from the cache list, and then extract the files to another folder, or copy the URLs list to the clipboard. - -### Package-specific issue -If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Choco-packages/issues/new/choose) - -Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/choco-packages@f986b7f5de3afc021180256752805698d4efbc38/icons/patreon.png)](https://www.patreon.com/tunisiano) diff --git a/automatic/mozillacacheview/legal/LICENSE.txt b/automatic/mozillacacheview/legal/LICENSE.txt deleted file mode 100644 index ca438fa..0000000 --- a/automatic/mozillacacheview/legal/LICENSE.txt +++ /dev/null @@ -1 +0,0 @@ -This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification ! \ No newline at end of file diff --git a/automatic/mozillacacheview/legal/VERIFICATION.txt b/automatic/mozillacacheview/legal/VERIFICATION.txt deleted file mode 100644 index 0a85fb2..0000000 --- a/automatic/mozillacacheview/legal/VERIFICATION.txt +++ /dev/null @@ -1,19 +0,0 @@ -VERIFICATION -Verification is intended to assist the Chocolatey moderators and community -in verifying that this package's contents are trustworthy. - -The installer have been downloaded from the GitHub mirror and can be verified like this: - -1. Download the following installer(s): - -x86: https://www.nirsoft.net/utils/mzcacheview.zip - -2. You can use one of the following methods to obtain the checksum(s): - - Use powershell function 'Get-Filehash' - - Use chocolatey utility 'checksum.exe' - -checksum type: sha256 -checksum: @{Algorithm=SHA512; Hash=E87AFE586AE9E18DB7F286D72270A908072CDFAC51944F2DC65C8DE63B8090C2974C63ADA67A0BB57CAF6AA19AAA296A3D97DE57A55D4AB19FF03478FDF43FDF; Path=C:\projects\chocolatey-packages\automatic\mozillacacheview\tools\mzcacheview.zip} - -The license is available here: -https://www.nirsoft.net/utils/mozilla_cache_viewer.html diff --git a/automatic/mozillacacheview/mozillacacheview.nuspec b/automatic/mozillacacheview/mozillacacheview.nuspec deleted file mode 100644 index fa63f76..0000000 --- a/automatic/mozillacacheview/mozillacacheview.nuspec +++ /dev/null @@ -1,37 +0,0 @@ - - - - mozillacacheview - 2.21 - MozillaCacheView - Nir Sofer - tunisiano - https://www.nirsoft.net/utils/mozilla_cache_viewer.html - https://www.nirsoft.net/utils/mozilla_cache_viewer.html - https://cdn.jsdelivr.net/gh/tunisiano187/Choco-packages@9d9ac8e09c030b5b9411fa610a59cfedb978ad7c/icons/mozillacacheview.png - false - - View the cache files of Firefox/Mozilla browsers - #### Package -* Automatically built and uploaded by [tunisiano](https://chocolatey.org/profiles/tunisiano) - © 2024 NirSoft - mozilla cache extract web browser - https://github.com/tunisiano187/Choco-packages/tree/master/automatic/mozillacacheview - - - - - - diff --git a/automatic/mozillacacheview/tools/chocolateyInstall.ps1 b/automatic/mozillacacheview/tools/chocolateyInstall.ps1 deleted file mode 100644 index 1ff5775..0000000 --- a/automatic/mozillacacheview/tools/chocolateyInstall.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -$ErrorActionPreference = 'Stop' -$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$file32 = "$(Join-Path $toolsDir -ChildPath 'mzcacheview.zip')" - -$unzipArgs = @{ - PackageName = $env:ChocolateyPackageName - FileFullPath = $file32 - Destination = $toolsDir -} - -Get-ChocolateyUnzip @unzipArgs - -$installFile = (get-childitem -Filter "*.exe" -Recurse).FullName - -Set-Content -Path ("$installFile.gui") ` - -Value $null \ No newline at end of file diff --git a/automatic/mozillacacheview/update.ps1 b/automatic/mozillacacheview/update.ps1 deleted file mode 100644 index 1deb467..0000000 --- a/automatic/mozillacacheview/update.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -$ErrorActionPreference = 'Stop' -import-module Chocolatey-AU -Import-Module ..\..\scripts\au_extensions.psm1 - -function global:au_SearchReplace { - @{ - "legal\VERIFICATION.txt" = @{ - "(?i)(x86:).*" = "`${1} $($Latest.URL32)" - "(?i)(checksum:).*" = "`${1} $($Latest.Checksum32)" - } - } -} - -function global:au_AfterUpdate($Package) { - Invoke-VirusTotalScan $Package -} - -function global:au_GetLatest { - $url32 = "https://www.nirsoft.net/utils/mzcacheview.zip" - Invoke-WebRequest -Uri $url32 -OutFile "tools/mzcacheview.zip" - $checksum32 = Get-FileHash -Path "tools/mzcacheview.zip" -Algorithm $env:ChocolateyChecksumType - $pageContent = Invoke-WebRequest -Uri "https://www.nirsoft.net/utils/mozilla_cache_viewer.html" - $regexPattern = 'MZCacheView v(\d+(\.\d+)*)' - $versionMatch = $pageContent.Content | Select-String -Pattern $regexPattern -AllMatches - $version = $versionMatch.Matches[0].Groups[1].Value - Update-Metadata -key "copyright" -value "© $(Get-Date -Format "yyyy") NirSoft" - - $Latest = @{ URL32 = $url32; Checksum32 = $checksum32; ChecksumType32 = $env:ChocolateyChecksumType; Version = $version } - return $Latest -} - -update -ChecksumFor none -NoCheckChocoVersion diff --git a/icons/mozillacacheview.png b/icons/mozillacacheview.png deleted file mode 100644 index 6c9867348f002c3707d44aa49e0f59d79180b1b4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 316 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnF3?v&v(vJfvg8-ip*Z=?j1DOmB3=It+3P=Nq z0|yQ?G&F!D{xg8(fdq&J1o}_gIDq1eB|(0{3=Yq3qyag*JY5_^DsCkwEMQ9ra$;be z&>&=_5ca^HC4r-+iTlO>cBL5&zv?xbxH6{v4{uUf;o$C`EWF9V{paWBO>a3E`>Yf+ zCjVF;!Y`Up&&SmH*6ZtiMW$K>(b859#tlu+&#O%N=gfM5tD#NfufBVDpkIKi;3nNp zUoV6A&38ZYXfSXqZ1BFUq9UNEHe=c}wTO!yA}vi#O>gg4s{}AbF8+7+pxO)ui$x{( t=1y#I6_MC5r@D9pqpDMFgVzBb2EIMrm7)a~V}ZV4@O1TaS?83{1ORJ?b^ibW