diff --git a/goodbyedpi/goodbyedpi.nuspec b/goodbyedpi/goodbyedpi.nuspec index 5276a5ade5..2f49703384 100644 --- a/goodbyedpi/goodbyedpi.nuspec +++ b/goodbyedpi/goodbyedpi.nuspec @@ -1,31 +1,26 @@ - + goodbyedpi - 0.1.4 + 0.2.2.20240920 https://github.com/galeksandrp/chocolatey-packages/tree/goodbyedpi galeksandrp GoodbyeDPI ValdikSS https://github.com/ValdikSS/GoodbyeDPI - https://avatars3.githubusercontent.com/u/3054729 - Copyright (c) ValdikSS 2017 - https://github.com/ValdikSS/GoodbyeDPI/blob/master/LICENSE - false + https://raw.githubusercontent.com/ValdikSS/GoodbyeDPI/master/src/icon.ico https://github.com/ValdikSS/GoodbyeDPI https://github.com/ValdikSS/GoodbyeDPI/blob/master/README.md https://github.com/ValdikSS/GoodbyeDPI/issues - goodbyedpi wfp windows-filtering-platform windivert dpi bypass dpi-bypass bypass-dpi censorship-circumvention anti-censorship anticensorship - GoodbyeDPI — Passive Deep Packet Inspection blocker and Active DPI circumvention utility - GoodbyeDPI — Passive Deep Packet Inspection blocker and Active DPI circumvention utility - -This software designed to bypass Deep Packet Inspection systems found in many Internet Service Providers which block access to certain websites. + goodbyedpi utility foss anti-censorship dpi + GoodbyeDPI — Deep Packet Inspection circumvention utility (for Windows) + - https://github.com/ValdikSS/GoodbyeDPI/releases +Windows 7, 8, 8.1, 10 or 11 with administrator privileges required.]]> + https://github.com/ValdikSS/GoodbyeDPI/releases/tag/0.2.2 diff --git a/goodbyedpi/tools/chocolateybeforemodify.ps1 b/goodbyedpi/tools/chocolateybeforemodify.ps1 new file mode 100644 index 0000000000..90f18a640e --- /dev/null +++ b/goodbyedpi/tools/chocolateybeforemodify.ps1 @@ -0,0 +1,3 @@ +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$appPath = Join-Path -Resolve $toolsDir -ChildPath "${env:ChocolateyPackageName}*" +Start-ChocolateyProcessAsAdmin -ExeToRun $(Join-Path $appPath 'service_remove.cmd') -ValidExitCodes @(0, 1060) \ No newline at end of file diff --git a/goodbyedpi/tools/chocolateyinstall.ps1 b/goodbyedpi/tools/chocolateyinstall.ps1 index e71dd8c48a..45762cce20 100644 --- a/goodbyedpi/tools/chocolateyinstall.ps1 +++ b/goodbyedpi/tools/chocolateyinstall.ps1 @@ -1,4 +1,21 @@ -if (Get-OSArchitectureWidth -eq 64) { -$subfolder = '_64' +$ErrorActionPreference = 'Stop' + +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" + +$packageArgs = @{ + packageName = $env:ChocolateyPackageName + unzipLocation = $toolsDir + fileType = 'zip' + url = 'https://github.com/ValdikSS/GoodbyeDPI/releases/download/0.2.2/goodbyedpi-0.2.2.zip' + + softwareName = 'goodbyedpi*' + + checksum = '00a2f8b99cd817f8c7fc4c449033015f039d18af213de78cb66bf202277c0628' + checksumType = 'sha256' } -Install-ChocolateyZipPackage "$env:chocolateyPackageName" 'https://github.com/ValdikSS/GoodbyeDPI/releases/download/0.1.4/goodbyedpi-0.1.4.zip' "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" -Checksum '0c834614e884b5840f6d2c52ed2815ef9544cfe305e30da8c3f9c9fad7d59315' -ChecksumType 'sha256' -SpecificFolder "goodbyedpi-0.1.4/x86$subfolder" + +Install-ChocolateyZipPackage @packageArgs +Get-ChildItem $toolsPath -include *.sys -Recurse | % { sc "$_.ignore" '' } + +$appPath = Join-Path -Resolve $packageArgs.unzipLocation -ChildPath "${env:ChocolateyPackageName}*" +Start-ChocolateyProcessAsAdmin -ExeToRun $(Join-Path $appPath 'service_install_russia_blacklist.cmd')