From 8adbecff2c5ff4be30e1121c6b1f85b8d7ea2bfe Mon Sep 17 00:00:00 2001 From: Journey Date: Mon, 11 Mar 2024 17:41:13 -0500 Subject: [PATCH] Deprecation of some stuff that hasn't been updated in years.. Also really thinking about moving away from chocolatey completely as I really don't use it anymore.. SO think I'm going to start posting up my packages to https://github.com/chocolatey-community/chocolatey-package-requests/issues to see if anyone wants to take them over. --- automatic/memreduct/update.ps1 | 43 ------------ automatic/renamemytvseries2/update.ps1 | 42 ------------ automatic/swift-im/update.ps1 | 55 --------------- {manual => deprecated}/centbrowser/README.md | 0 .../centbrowser/centbrowser.json | 0 .../centbrowser/centbrowser.nuspec | 0 .../centbrowser/icons/128x128.png | Bin .../centbrowser/icons/256x256.png | Bin .../centbrowser/icons/48x48.png | Bin .../centbrowser/icons/64x64.png | Bin .../centbrowser}/tools/.skipAutoUninstall | 0 .../tools/chocolateyBeforeModify.ps1 | 0 .../centbrowser/tools/chocolateyInstall.ps1 | 0 .../centbrowser/tools/chocolateyUninstall.ps1 | 0 {manual => deprecated}/compactor/README.md | 0 .../compactor/compactor.nuspec | 0 .../compactor/icons/128x128.png | Bin .../compactor/icons/48x48.png | Bin .../compactor/icons/64x64.png | Bin .../compactor/legal/LICENSE.txt | 0 .../compactor/legal/VERIFICATION.txt | 0 .../compactor/tools/chocolateyInstall.ps1 | 0 .../compactor/tools/chocolateyUninstall.ps1 | 0 {manual => deprecated}/gitahead/README.md | 0 .../gitahead/gitahead.nuspec | 0 .../gitahead/icons/128x128.png | Bin .../gitahead/icons/48x48.png | Bin .../gitahead/icons/64x64.png | Bin .../gitahead/legal/LICENSE.txt | 0 .../gitahead/legal/VERIFICATION.txt | 0 .../gitahead}/tools/.skipAutoUninstall | 0 .../gitahead/tools/chocolateyInstall.ps1 | 0 .../gitahead/tools/chocolateyUninstall.ps1 | 0 {automatic => deprecated}/memreduct/README.md | 0 .../memreduct/icons/128x128.png | Bin .../memreduct/icons/48x48.png | Bin .../memreduct/icons/64x64.png | Bin .../memreduct/legal/LICENSE.txt | 0 .../memreduct/legal/VERIFICATION.txt | 0 .../memreduct/memreduct.nuspec | 0 .../tools/chocolateyBeforeModify.ps1 | 0 .../memreduct/tools/chocolateyInstall.ps1 | 0 .../memreduct/tools/chocolateyUninstall.ps1 | 0 deprecated/plasso/update.ps1.bak | 63 ------------------ .../renamemytvseries2/README.md | 0 .../renamemytvseries2/icons/128x128.png | Bin .../renamemytvseries2/icons/48x48.png | Bin .../renamemytvseries2/icons/64x64.png | Bin .../renamemytvseries2.nuspec | 0 .../tools/.skipAutoUninstall | 0 .../tools/chocolateyInstall.ps1 | 0 .../tools/chocolateyUninstall.ps1 | 0 {automatic => deprecated}/swift-im/README.md | 0 .../swift-im/icons/128x128.png | Bin .../swift-im/icons/48x48.png | Bin .../swift-im/icons/64x64.png | Bin .../swift-im/legal/LICENSE.txt | 0 .../swift-im/legal/VERIFICATION.txt | 0 .../swift-im/swift-im.nuspec | 0 .../swift-im/tools/chocolateyInstall.ps1 | 0 60 files changed, 203 deletions(-) delete mode 100644 automatic/memreduct/update.ps1 delete mode 100644 automatic/renamemytvseries2/update.ps1 delete mode 100644 automatic/swift-im/update.ps1 rename {manual => deprecated}/centbrowser/README.md (100%) rename {manual => deprecated}/centbrowser/centbrowser.json (100%) rename {manual => deprecated}/centbrowser/centbrowser.nuspec (100%) rename {manual => deprecated}/centbrowser/icons/128x128.png (100%) rename {manual => deprecated}/centbrowser/icons/256x256.png (100%) rename {manual => deprecated}/centbrowser/icons/48x48.png (100%) rename {manual => deprecated}/centbrowser/icons/64x64.png (100%) rename {automatic/renamemytvseries2 => deprecated/centbrowser}/tools/.skipAutoUninstall (100%) rename {manual => deprecated}/centbrowser/tools/chocolateyBeforeModify.ps1 (100%) rename {manual => deprecated}/centbrowser/tools/chocolateyInstall.ps1 (100%) rename {manual => deprecated}/centbrowser/tools/chocolateyUninstall.ps1 (100%) rename {manual => deprecated}/compactor/README.md (100%) rename {manual => deprecated}/compactor/compactor.nuspec (100%) rename {manual => deprecated}/compactor/icons/128x128.png (100%) rename {manual => deprecated}/compactor/icons/48x48.png (100%) rename {manual => deprecated}/compactor/icons/64x64.png (100%) rename {manual => deprecated}/compactor/legal/LICENSE.txt (100%) rename {manual => deprecated}/compactor/legal/VERIFICATION.txt (100%) rename {manual => deprecated}/compactor/tools/chocolateyInstall.ps1 (100%) rename {manual => deprecated}/compactor/tools/chocolateyUninstall.ps1 (100%) rename {manual => deprecated}/gitahead/README.md (100%) rename {manual => deprecated}/gitahead/gitahead.nuspec (100%) rename {manual => deprecated}/gitahead/icons/128x128.png (100%) rename {manual => deprecated}/gitahead/icons/48x48.png (100%) rename {manual => deprecated}/gitahead/icons/64x64.png (100%) rename {manual => deprecated}/gitahead/legal/LICENSE.txt (100%) rename {manual => deprecated}/gitahead/legal/VERIFICATION.txt (100%) rename {manual/centbrowser => deprecated/gitahead}/tools/.skipAutoUninstall (100%) rename {manual => deprecated}/gitahead/tools/chocolateyInstall.ps1 (100%) rename {manual => deprecated}/gitahead/tools/chocolateyUninstall.ps1 (100%) rename {automatic => deprecated}/memreduct/README.md (100%) rename {automatic => deprecated}/memreduct/icons/128x128.png (100%) rename {automatic => deprecated}/memreduct/icons/48x48.png (100%) rename {automatic => deprecated}/memreduct/icons/64x64.png (100%) rename {automatic => deprecated}/memreduct/legal/LICENSE.txt (100%) rename {automatic => deprecated}/memreduct/legal/VERIFICATION.txt (100%) rename {automatic => deprecated}/memreduct/memreduct.nuspec (100%) rename {automatic => deprecated}/memreduct/tools/chocolateyBeforeModify.ps1 (100%) rename {automatic => deprecated}/memreduct/tools/chocolateyInstall.ps1 (100%) rename {automatic => deprecated}/memreduct/tools/chocolateyUninstall.ps1 (100%) delete mode 100644 deprecated/plasso/update.ps1.bak rename {automatic => deprecated}/renamemytvseries2/README.md (100%) rename {automatic => deprecated}/renamemytvseries2/icons/128x128.png (100%) rename {automatic => deprecated}/renamemytvseries2/icons/48x48.png (100%) rename {automatic => deprecated}/renamemytvseries2/icons/64x64.png (100%) rename {automatic => deprecated}/renamemytvseries2/renamemytvseries2.nuspec (100%) rename {manual/gitahead => deprecated/renamemytvseries2}/tools/.skipAutoUninstall (100%) rename {automatic => deprecated}/renamemytvseries2/tools/chocolateyInstall.ps1 (100%) rename {automatic => deprecated}/renamemytvseries2/tools/chocolateyUninstall.ps1 (100%) rename {automatic => deprecated}/swift-im/README.md (100%) rename {automatic => deprecated}/swift-im/icons/128x128.png (100%) rename {automatic => deprecated}/swift-im/icons/48x48.png (100%) rename {automatic => deprecated}/swift-im/icons/64x64.png (100%) rename {automatic => deprecated}/swift-im/legal/LICENSE.txt (100%) rename {automatic => deprecated}/swift-im/legal/VERIFICATION.txt (100%) rename {automatic => deprecated}/swift-im/swift-im.nuspec (100%) rename {automatic => deprecated}/swift-im/tools/chocolateyInstall.ps1 (100%) diff --git a/automatic/memreduct/update.ps1 b/automatic/memreduct/update.ps1 deleted file mode 100644 index 65adaa3d..00000000 --- a/automatic/memreduct/update.ps1 +++ /dev/null @@ -1,43 +0,0 @@ -Import-Module au -Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1" - -$repoUser = "henrypp" -$repoName = "memreduct" - -function global:au_SearchReplace { - @{ - ".\legal\VERIFICATION.txt" = @{ - "(?i)(^\s*location on\:?\s*)\<.*\>" = "`${1}<$($Latest.ReleaseUri)>" - "(?i)(^\s*url(32)?\:\s*).*" = "`${1}<$($Latest.URL32)>" - "(?i)(^\s*checksum(32)?\:\s*).*" = "`${1}$($Latest.Checksum32)" - "(?i)(^\s*checksum\s*type\:\s*).*" = "`${1}$($Latest.ChecksumType32)" - } - } -} - -function global:au_BeforeUpdate($Package) { - $licenseData = Get-GithubRepositoryLicense $repoUser $repoName - $licenseFile = "$PSScriptRoot\legal\LICENSE.txt" - if (Test-Path $licenseFile) { Remove-Item -Force $licenseFile } - - Invoke-WebRequest -Uri $licenseData.download_url -UseBasicParsing -OutFile "$licenseFile" - $Latest.LicenseUrl = $licenseData.html_url - - Get-RemoteFiles -Purge -NoSuffix -} - -function global:au_AfterUpdate($Package) { - Update-Metadata -key "licenseUrl" -value $Latest.LicenseUrl - Invoke-VirusTotalScan $Package -} - -function global:au_GetLatest { - $release = Get-LatestGithubReleases $repoUser $repoName $true - - $url32 = $release.latest.Assets | Where-Object { $_ -match 'setup\.exe$' } | Select-Object -First 1 - - $Latest = @{ URL32 = $url32; Version = $release.latest.Version; ReleaseUri = $release.latest.ReleaseUrl } - return $Latest -} - -update -ChecksumFor none diff --git a/automatic/renamemytvseries2/update.ps1 b/automatic/renamemytvseries2/update.ps1 deleted file mode 100644 index 90ddde88..00000000 --- a/automatic/renamemytvseries2/update.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -Import-Module au - -$releases = 'https://www.tweaking4all.com/home-theatre/rename-my-tv-series-v2/' - -function global:au_SearchReplace { - @{ - ".\tools\chocolateyInstall.ps1" = @{ - "(?i)(^\s*[$]url(32)?\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" - "(?i)(^\s*[$]checksum(32)?\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" - "(?i)(^\s*[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'" - } - } -} - -function global:au_AfterUpdate($Package) { - Invoke-VirusTotalScan $Package -} - -function global:au_GetLatest { - $download = Invoke-WebRequest -Uri $releases -UseBasicParsing -Headers @{ "Accept-Encoding" = 'gzip' } - - $regex = '.exe$' - $url32 = $download.links | Where-Object href -Match $regex | Select-Object -First 1 -Expand href - $version = $url32 -split 'RenameMyTVSeries-|-Windows-32bit-setup.exe' | Select-Object -Last 1 -Skip 1 - - # Check checksum of url to determine if checksums are out of date. - $current_checksum = (Get-Item ".\tools\chocolateyInstall.ps1" | Select-String '^[$]checksum\b') -split "=|'" | Select-Object -Last 1 -Skip 1 - if ($current_checksum.Length -ne 64) { throw "Can't find current checksum" } - $remote_checksum = Get-RemoteChecksum $url32 - $Notation = Get-Date -UFormat "%Y%m%d" - if ($current_checksum -ne $remote_checksum) { - Write-Host 'Remote checksum is different then the current one, forcing update' - $version = $version -replace ('b', ".$Notation") - $global:au_old_force = $global:au_force - $global:au_force = $true - } - - $Latest = @{ URL32 = $url32; Version = $version -replace ('b', '') } - return $Latest -} - -update -ChecksumFor 32 diff --git a/automatic/swift-im/update.ps1 b/automatic/swift-im/update.ps1 deleted file mode 100644 index b5900233..00000000 --- a/automatic/swift-im/update.ps1 +++ /dev/null @@ -1,55 +0,0 @@ -Import-Module au -Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1" - -$releases = 'https://swift.im/downloads.html' -$fjoin = 'https://swift.im' -$clog = 'https://swift.im/' - -function global:au_SearchReplace { - @{ - ".\legal\VERIFICATION.txt" = @{ - "(?i)(^\s*url(32)?\:\s*).*" = "`${1}<$($Latest.URL32)>" - "(?i)(^\s*checksum(32)?\:\s*).*" = "`${1}$($Latest.Checksum32)" - "(?i)(^\s*checksum\s*type\:\s*).*" = "`${1}$($Latest.ChecksumType32)" - } - - ".\swift-im.nuspec" = @{ - "(\*\s+\[(\w+)\])(.*)" = "`$1($($Latest.Changelog))" - } - } -} - -function global:au_BeforeUpdate($Package) { - $licenseFile = "$PSScriptRoot\legal\LICENSE.txt" - if (Test-Path $licenseFile) { Remove-Item -Force $licenseFile } - - Invoke-WebRequest -UseBasicParsing -Uri $($Package.nuspecXml.package.metadata.licenseUrl -replace 'blob', 'raw') -OutFile $licenseFile - if (!(Get-ValidOpenSourceLicense -path "$licenseFile")) { - throw "Unknown license download. Please verify it still contains distribution rights." - } - - Get-RemoteFiles -Purge -NoSuffix -} - -function global:au_AfterUpdate($Package) { - Invoke-VirusTotalScan $Package -} - -function global:au_GetLatest { - $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing - - $regex = '.msi$' - $url = $download_page.links | Where-Object href -Match $regex | Select-Object -First 1 -Expand href - - $regex = 'changelog-' - $changelogx = $download_page.links | Where-Object href -Match $regex | Select-Object -First 1 -Expand href - - $version = $url -split 'swift-|.msi' | Select-Object -Last 1 -Skip 1 - $url32 = $fjoin + $url - $changelog = $clog + $changelogx - - $Latest = @{ URL32 = $url32; Version = $version; Changelog = $changelog } - return $Latest -} - -update -ChecksumFor none diff --git a/manual/centbrowser/README.md b/deprecated/centbrowser/README.md similarity index 100% rename from manual/centbrowser/README.md rename to deprecated/centbrowser/README.md diff --git a/manual/centbrowser/centbrowser.json b/deprecated/centbrowser/centbrowser.json similarity index 100% rename from manual/centbrowser/centbrowser.json rename to deprecated/centbrowser/centbrowser.json diff --git a/manual/centbrowser/centbrowser.nuspec b/deprecated/centbrowser/centbrowser.nuspec similarity index 100% rename from manual/centbrowser/centbrowser.nuspec rename to deprecated/centbrowser/centbrowser.nuspec diff --git a/manual/centbrowser/icons/128x128.png b/deprecated/centbrowser/icons/128x128.png similarity index 100% rename from manual/centbrowser/icons/128x128.png rename to deprecated/centbrowser/icons/128x128.png diff --git a/manual/centbrowser/icons/256x256.png b/deprecated/centbrowser/icons/256x256.png similarity index 100% rename from manual/centbrowser/icons/256x256.png rename to deprecated/centbrowser/icons/256x256.png diff --git a/manual/centbrowser/icons/48x48.png b/deprecated/centbrowser/icons/48x48.png similarity index 100% rename from manual/centbrowser/icons/48x48.png rename to deprecated/centbrowser/icons/48x48.png diff --git a/manual/centbrowser/icons/64x64.png b/deprecated/centbrowser/icons/64x64.png similarity index 100% rename from manual/centbrowser/icons/64x64.png rename to deprecated/centbrowser/icons/64x64.png diff --git a/automatic/renamemytvseries2/tools/.skipAutoUninstall b/deprecated/centbrowser/tools/.skipAutoUninstall similarity index 100% rename from automatic/renamemytvseries2/tools/.skipAutoUninstall rename to deprecated/centbrowser/tools/.skipAutoUninstall diff --git a/manual/centbrowser/tools/chocolateyBeforeModify.ps1 b/deprecated/centbrowser/tools/chocolateyBeforeModify.ps1 similarity index 100% rename from manual/centbrowser/tools/chocolateyBeforeModify.ps1 rename to deprecated/centbrowser/tools/chocolateyBeforeModify.ps1 diff --git a/manual/centbrowser/tools/chocolateyInstall.ps1 b/deprecated/centbrowser/tools/chocolateyInstall.ps1 similarity index 100% rename from manual/centbrowser/tools/chocolateyInstall.ps1 rename to deprecated/centbrowser/tools/chocolateyInstall.ps1 diff --git a/manual/centbrowser/tools/chocolateyUninstall.ps1 b/deprecated/centbrowser/tools/chocolateyUninstall.ps1 similarity index 100% rename from manual/centbrowser/tools/chocolateyUninstall.ps1 rename to deprecated/centbrowser/tools/chocolateyUninstall.ps1 diff --git a/manual/compactor/README.md b/deprecated/compactor/README.md similarity index 100% rename from manual/compactor/README.md rename to deprecated/compactor/README.md diff --git a/manual/compactor/compactor.nuspec b/deprecated/compactor/compactor.nuspec similarity index 100% rename from manual/compactor/compactor.nuspec rename to deprecated/compactor/compactor.nuspec diff --git a/manual/compactor/icons/128x128.png b/deprecated/compactor/icons/128x128.png similarity index 100% rename from manual/compactor/icons/128x128.png rename to deprecated/compactor/icons/128x128.png diff --git a/manual/compactor/icons/48x48.png b/deprecated/compactor/icons/48x48.png similarity index 100% rename from manual/compactor/icons/48x48.png rename to deprecated/compactor/icons/48x48.png diff --git a/manual/compactor/icons/64x64.png b/deprecated/compactor/icons/64x64.png similarity index 100% rename from manual/compactor/icons/64x64.png rename to deprecated/compactor/icons/64x64.png diff --git a/manual/compactor/legal/LICENSE.txt b/deprecated/compactor/legal/LICENSE.txt similarity index 100% rename from manual/compactor/legal/LICENSE.txt rename to deprecated/compactor/legal/LICENSE.txt diff --git a/manual/compactor/legal/VERIFICATION.txt b/deprecated/compactor/legal/VERIFICATION.txt similarity index 100% rename from manual/compactor/legal/VERIFICATION.txt rename to deprecated/compactor/legal/VERIFICATION.txt diff --git a/manual/compactor/tools/chocolateyInstall.ps1 b/deprecated/compactor/tools/chocolateyInstall.ps1 similarity index 100% rename from manual/compactor/tools/chocolateyInstall.ps1 rename to deprecated/compactor/tools/chocolateyInstall.ps1 diff --git a/manual/compactor/tools/chocolateyUninstall.ps1 b/deprecated/compactor/tools/chocolateyUninstall.ps1 similarity index 100% rename from manual/compactor/tools/chocolateyUninstall.ps1 rename to deprecated/compactor/tools/chocolateyUninstall.ps1 diff --git a/manual/gitahead/README.md b/deprecated/gitahead/README.md similarity index 100% rename from manual/gitahead/README.md rename to deprecated/gitahead/README.md diff --git a/manual/gitahead/gitahead.nuspec b/deprecated/gitahead/gitahead.nuspec similarity index 100% rename from manual/gitahead/gitahead.nuspec rename to deprecated/gitahead/gitahead.nuspec diff --git a/manual/gitahead/icons/128x128.png b/deprecated/gitahead/icons/128x128.png similarity index 100% rename from manual/gitahead/icons/128x128.png rename to deprecated/gitahead/icons/128x128.png diff --git a/manual/gitahead/icons/48x48.png b/deprecated/gitahead/icons/48x48.png similarity index 100% rename from manual/gitahead/icons/48x48.png rename to deprecated/gitahead/icons/48x48.png diff --git a/manual/gitahead/icons/64x64.png b/deprecated/gitahead/icons/64x64.png similarity index 100% rename from manual/gitahead/icons/64x64.png rename to deprecated/gitahead/icons/64x64.png diff --git a/manual/gitahead/legal/LICENSE.txt b/deprecated/gitahead/legal/LICENSE.txt similarity index 100% rename from manual/gitahead/legal/LICENSE.txt rename to deprecated/gitahead/legal/LICENSE.txt diff --git a/manual/gitahead/legal/VERIFICATION.txt b/deprecated/gitahead/legal/VERIFICATION.txt similarity index 100% rename from manual/gitahead/legal/VERIFICATION.txt rename to deprecated/gitahead/legal/VERIFICATION.txt diff --git a/manual/centbrowser/tools/.skipAutoUninstall b/deprecated/gitahead/tools/.skipAutoUninstall similarity index 100% rename from manual/centbrowser/tools/.skipAutoUninstall rename to deprecated/gitahead/tools/.skipAutoUninstall diff --git a/manual/gitahead/tools/chocolateyInstall.ps1 b/deprecated/gitahead/tools/chocolateyInstall.ps1 similarity index 100% rename from manual/gitahead/tools/chocolateyInstall.ps1 rename to deprecated/gitahead/tools/chocolateyInstall.ps1 diff --git a/manual/gitahead/tools/chocolateyUninstall.ps1 b/deprecated/gitahead/tools/chocolateyUninstall.ps1 similarity index 100% rename from manual/gitahead/tools/chocolateyUninstall.ps1 rename to deprecated/gitahead/tools/chocolateyUninstall.ps1 diff --git a/automatic/memreduct/README.md b/deprecated/memreduct/README.md similarity index 100% rename from automatic/memreduct/README.md rename to deprecated/memreduct/README.md diff --git a/automatic/memreduct/icons/128x128.png b/deprecated/memreduct/icons/128x128.png similarity index 100% rename from automatic/memreduct/icons/128x128.png rename to deprecated/memreduct/icons/128x128.png diff --git a/automatic/memreduct/icons/48x48.png b/deprecated/memreduct/icons/48x48.png similarity index 100% rename from automatic/memreduct/icons/48x48.png rename to deprecated/memreduct/icons/48x48.png diff --git a/automatic/memreduct/icons/64x64.png b/deprecated/memreduct/icons/64x64.png similarity index 100% rename from automatic/memreduct/icons/64x64.png rename to deprecated/memreduct/icons/64x64.png diff --git a/automatic/memreduct/legal/LICENSE.txt b/deprecated/memreduct/legal/LICENSE.txt similarity index 100% rename from automatic/memreduct/legal/LICENSE.txt rename to deprecated/memreduct/legal/LICENSE.txt diff --git a/automatic/memreduct/legal/VERIFICATION.txt b/deprecated/memreduct/legal/VERIFICATION.txt similarity index 100% rename from automatic/memreduct/legal/VERIFICATION.txt rename to deprecated/memreduct/legal/VERIFICATION.txt diff --git a/automatic/memreduct/memreduct.nuspec b/deprecated/memreduct/memreduct.nuspec similarity index 100% rename from automatic/memreduct/memreduct.nuspec rename to deprecated/memreduct/memreduct.nuspec diff --git a/automatic/memreduct/tools/chocolateyBeforeModify.ps1 b/deprecated/memreduct/tools/chocolateyBeforeModify.ps1 similarity index 100% rename from automatic/memreduct/tools/chocolateyBeforeModify.ps1 rename to deprecated/memreduct/tools/chocolateyBeforeModify.ps1 diff --git a/automatic/memreduct/tools/chocolateyInstall.ps1 b/deprecated/memreduct/tools/chocolateyInstall.ps1 similarity index 100% rename from automatic/memreduct/tools/chocolateyInstall.ps1 rename to deprecated/memreduct/tools/chocolateyInstall.ps1 diff --git a/automatic/memreduct/tools/chocolateyUninstall.ps1 b/deprecated/memreduct/tools/chocolateyUninstall.ps1 similarity index 100% rename from automatic/memreduct/tools/chocolateyUninstall.ps1 rename to deprecated/memreduct/tools/chocolateyUninstall.ps1 diff --git a/deprecated/plasso/update.ps1.bak b/deprecated/plasso/update.ps1.bak deleted file mode 100644 index cca3596b..00000000 --- a/deprecated/plasso/update.ps1.bak +++ /dev/null @@ -1,63 +0,0 @@ -Import-Module au - -$releases = 'https://bitsum.com/changes/processlasso/' -$vrelease = 'https://bitsum.com/userservices/versioninfo.php?ProductName=ProcessLasso' - -function global:au_BeforeUpdate { - $Latest.Checksum32 = Get-RemoteChecksum $Latest.URL32 - $Latest.Checksum64 = Get-RemoteChecksum $Latest.URL64 - $Latest.SChecksum32 = Get-RemoteChecksum $Latest.SURL32 - $Latest.SChecksum64 = Get-RemoteChecksum $Latest.SURL64 -} - -function global:au_SearchReplace { - @{ - ".\tools\chocolateyInstall.ps1" = @{ - "(?i)(^\s*[$]url(32)?\s*=\s*)('.*')" = "`$1'$($Latest.URL32)'" - "(?i)(^\s*[$]url64\s*=\s*)('.*')" = "`$1'$($Latest.URL64)'" - "(?i)(^\s*[$]checksum(32)?\s*=\s*)('.*')" = "`$1'$($Latest.Checksum32)'" - "(?i)(^\s*[$]checksum64\s*=\s*)('.*')" = "`$1'$($Latest.Checksum64)'" - "(?i)(^\s*[$]surl(32)?\s*=\s*)('.*')" = "`$1'$($Latest.SURL32)'" - "(?i)(^\s*[$]surl64\s*=\s*)('.*')" = "`$1'$($Latest.SURL64)'" - "(?i)(^\s*[$]schecksum(32)?\s*=\s*)('.*')" = "`$1'$($Latest.SChecksum32)'" - "(?i)(^\s*[$]schecksum64\s*=\s*)('.*')" = "`$1'$($Latest.SChecksum64)'" - "(?i)(^\s*[$]checksumType\s*=\s*)('.*')" = "`$1'$($Latest.ChecksumType32)'" - } - } -} - -function global:au_GetLatest { - $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing - $version_number = Invoke-WebRequest -Uri $vrelease -UseBasicParsing - - $regex = '.exe$' - $url = $download_page.links | Where-Object href -Match $regex | Select-Object -First 6 -Expand href - - $versionRegEx = '(\d+)\.(\d+)\.(\d+)\.(\d+)' - $version = ([regex]::match($version_number.Content, $versionRegEx)) - - $url32 = $url[1] - $url64 = $url[0] - $surl32 = $url[5] - $surl64 = $url[4] - - # Check checksum of one url to determine if checksums are out of date. - $current_checksum = (Get-Item ".\tools\chocolateyInstall.ps1" | Select-String '^[$]checksum64\b') -split "=|'" | Select-Object -Last 1 -Skip 1 - if ($current_checksum.Length -ne 64) { throw "Can't find current checksum" } - $remote_checksum = Get-RemoteChecksum $url[0] - if ($current_checksum -ne $remote_checksum) { - Write-Host 'Remote checksum is different then the current one, forcing update' - $global:au_old_force = $global:au_force - $global:au_force = $true - } - - if ($current_checksum -ne $remote_checksum) { - $Latest = @{ URL32 = $url32; URL64 = $url64; SURL32 = $surl32; SURL64 = $surl64; Version = "$version" + "01" } - } else { - $Latest = @{ URL32 = $url32; URL64 = $url64; SURL32 = $surl32; SURL64 = $surl64; Version = "$version" + "00" } - } - return $Latest -} - -update -if ($global:au_old_force -is [bool]) { $global:au_force = $global:au_old_force } diff --git a/automatic/renamemytvseries2/README.md b/deprecated/renamemytvseries2/README.md similarity index 100% rename from automatic/renamemytvseries2/README.md rename to deprecated/renamemytvseries2/README.md diff --git a/automatic/renamemytvseries2/icons/128x128.png b/deprecated/renamemytvseries2/icons/128x128.png similarity index 100% rename from automatic/renamemytvseries2/icons/128x128.png rename to deprecated/renamemytvseries2/icons/128x128.png diff --git a/automatic/renamemytvseries2/icons/48x48.png b/deprecated/renamemytvseries2/icons/48x48.png similarity index 100% rename from automatic/renamemytvseries2/icons/48x48.png rename to deprecated/renamemytvseries2/icons/48x48.png diff --git a/automatic/renamemytvseries2/icons/64x64.png b/deprecated/renamemytvseries2/icons/64x64.png similarity index 100% rename from automatic/renamemytvseries2/icons/64x64.png rename to deprecated/renamemytvseries2/icons/64x64.png diff --git a/automatic/renamemytvseries2/renamemytvseries2.nuspec b/deprecated/renamemytvseries2/renamemytvseries2.nuspec similarity index 100% rename from automatic/renamemytvseries2/renamemytvseries2.nuspec rename to deprecated/renamemytvseries2/renamemytvseries2.nuspec diff --git a/manual/gitahead/tools/.skipAutoUninstall b/deprecated/renamemytvseries2/tools/.skipAutoUninstall similarity index 100% rename from manual/gitahead/tools/.skipAutoUninstall rename to deprecated/renamemytvseries2/tools/.skipAutoUninstall diff --git a/automatic/renamemytvseries2/tools/chocolateyInstall.ps1 b/deprecated/renamemytvseries2/tools/chocolateyInstall.ps1 similarity index 100% rename from automatic/renamemytvseries2/tools/chocolateyInstall.ps1 rename to deprecated/renamemytvseries2/tools/chocolateyInstall.ps1 diff --git a/automatic/renamemytvseries2/tools/chocolateyUninstall.ps1 b/deprecated/renamemytvseries2/tools/chocolateyUninstall.ps1 similarity index 100% rename from automatic/renamemytvseries2/tools/chocolateyUninstall.ps1 rename to deprecated/renamemytvseries2/tools/chocolateyUninstall.ps1 diff --git a/automatic/swift-im/README.md b/deprecated/swift-im/README.md similarity index 100% rename from automatic/swift-im/README.md rename to deprecated/swift-im/README.md diff --git a/automatic/swift-im/icons/128x128.png b/deprecated/swift-im/icons/128x128.png similarity index 100% rename from automatic/swift-im/icons/128x128.png rename to deprecated/swift-im/icons/128x128.png diff --git a/automatic/swift-im/icons/48x48.png b/deprecated/swift-im/icons/48x48.png similarity index 100% rename from automatic/swift-im/icons/48x48.png rename to deprecated/swift-im/icons/48x48.png diff --git a/automatic/swift-im/icons/64x64.png b/deprecated/swift-im/icons/64x64.png similarity index 100% rename from automatic/swift-im/icons/64x64.png rename to deprecated/swift-im/icons/64x64.png diff --git a/automatic/swift-im/legal/LICENSE.txt b/deprecated/swift-im/legal/LICENSE.txt similarity index 100% rename from automatic/swift-im/legal/LICENSE.txt rename to deprecated/swift-im/legal/LICENSE.txt diff --git a/automatic/swift-im/legal/VERIFICATION.txt b/deprecated/swift-im/legal/VERIFICATION.txt similarity index 100% rename from automatic/swift-im/legal/VERIFICATION.txt rename to deprecated/swift-im/legal/VERIFICATION.txt diff --git a/automatic/swift-im/swift-im.nuspec b/deprecated/swift-im/swift-im.nuspec similarity index 100% rename from automatic/swift-im/swift-im.nuspec rename to deprecated/swift-im/swift-im.nuspec diff --git a/automatic/swift-im/tools/chocolateyInstall.ps1 b/deprecated/swift-im/tools/chocolateyInstall.ps1 similarity index 100% rename from automatic/swift-im/tools/chocolateyInstall.ps1 rename to deprecated/swift-im/tools/chocolateyInstall.ps1