This commit is contained in:
2020-10-30 15:08:00 +02:00
parent 7548dc61ef
commit 46bb7198c9
6 changed files with 104 additions and 0 deletions

11
tools/LICENSE.txt Normal file
View File

@@ -0,0 +1,11 @@

Note: Include this file if including binaries you have the right to distribute.
Otherwise delete. this file.
===DELETE ABOVE THIS LINE AND THIS LINE===
From: <insert applicable license url here>
LICENSE
<Insert License Here>

13
tools/VERIFICATION.txt Normal file
View File

@@ -0,0 +1,13 @@

Note: Include this file if including binaries you have the right to distribute.
Otherwise delete. this file. If you are the software author, you can change this
mention you are the author of the software.
===DELETE ABOVE THIS LINE AND THIS LINE===
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.
<Include details of how to verify checksum contents>
<If software vendor, explain that here - checksum verification instructions are optional>

View File

@@ -0,0 +1,42 @@

$ErrorActionPreference = 'Stop';
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://downloads.surfshark.com/windows/latest/SurfsharkSetup.exe'
$packageArgs = @{
packageName = "Surfshark"
unzipLocation = $toolsDir
fileType = 'exe'
url = $url
softwareName = 'surfshark*'
checksum = 'F1236A602FC3EB6D5F0DD7FDBC95B812C6ADABB98970E237EF3C3A70F5B84CC9'
checksumType = 'sha256'
silentArgs = "/exenoui"
validExitCodes= @(0, 3010, 1641)
}
Install-ChocolateyPackage @packageArgs

View File

@@ -0,0 +1 @@
start-process -filepath "C:\ProgramData\Caphyon\Advanced Installer\{9E65D7E5-B255-493D-B95A-DECAB307DDF6}\SurfsharkSetup.exe" -argumentlist '/x {9E65D7E5-B255-493D-B95A-DECAB307DDF6} AI_UNINSTALLER_CTP=1 /qn'