-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[![](https://img.shields.io/chocolatey/v/protonpass?color=green&label=protonpass)](https://chocolatey.org/packages/protonpass) [![](https://img.shields.io/chocolatey/dt/protonpass)](https://chocolatey.org/packages/protonpass) | ||
|
||
## Proton Pass | ||
|
||
# Proton Pass desktop application | ||
|
||
Proton Pass is a cloud based password manager solution with end-to-end encryption. | ||
|
||
It also generates unique email aliases, preventing your true email address from being used to track you, exposed in data breaches, or targeted for spam. | ||
|
||
The Proton Pass desktop app for Windows, includes offline access. To activate offline mode, Go to settings > Enable offline mode, you’ll be asked to enter your password. | ||
|
||
#### [choco://protonpass](choco://protonpass) | ||
To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support) | ||
|
||
### Package-specific issue | ||
If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose) | ||
|
||
Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/bePatron?u=39585820) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> | ||
<metadata> | ||
<id>protonpass</id> | ||
<version>1.16.7</version> | ||
<title>Proton Pass</title> | ||
<authors>Proton AG</authors> | ||
<owners>wadoli</owners> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<projectUrl>https://proton.me/pass</projectUrl> | ||
<iconUrl>https://avatars.githubusercontent.com/u/124775790</iconUrl> | ||
<description># Proton Pass desktop application | ||
|
||
Proton Pass is a cloud based password manager solution with end-to-end encryption. | ||
|
||
It also generates unique email aliases, preventing your true email address from being used to track you, exposed in data breaches, or targeted for spam. | ||
|
||
The Proton Pass desktop app for Windows, includes offline access. To activate offline mode, Go to settings > Enable offline mode, you’ll be asked to enter your password.</description> | ||
<summary>Proton Pass secures your passwords and identity with end-to-end encryption.</summary> | ||
<copyright>Copyright © 2024 Proton AG</copyright> | ||
<tags>proton pass password manager security</tags> | ||
<packageSourceUrl>https://github.com/wadoli/chocolatey-pkg-protonpass</packageSourceUrl> | ||
<docsUrl>https://proton.me/support/pass</docsUrl> | ||
</metadata> | ||
<files> | ||
<file src="tools\**" target="tools" /> | ||
</files> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
$ErrorActionPreference = 'Stop' # stop on all errors | ||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||
#$url = '' | ||
$url64 = 'https://proton.me/download/PassDesktop/win32/x64/ProtonPass_Setup_1.16.7.exe' | ||
|
||
$packageArgs = @{ | ||
packageName = $env:ChocolateyPackageName | ||
unzipLocation = $toolsDir | ||
fileType = 'EXE' | ||
#url = $url | ||
url64bit = $url64 | ||
silentArgs = "/s" | ||
validExitCodes= @(0) | ||
softwareName = 'Proton Pass*' #part or all of the Display Name as you see it in Programs and Features. It should be enough to be unique | ||
#checksum = '{{Checksum}}' | ||
#checksumType = '{{ChecksumType}}' #default is md5, can also be sha1, sha256 or sha512 | ||
checksum64 = '6ED86BF91D59F16D0F4F02CF8961CBCA461264160CB3F5CD326EDF71297CC948' | ||
checksumType64= 'sha256' #default is checksumType | ||
} | ||
|
||
Install-ChocolateyPackage @packageArgs # https://docs.chocolatey.org/en-us/create/functions/install-chocolateypackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$ErrorActionPreference = 'Stop'; | ||
|
||
[array]$key = Get-UninstallRegistryKey -SoftwareName 'Proton Pass' | ||
$packageName = $env:ChocolateyPackageName | ||
|
||
if ($key.Count -eq 1) { | ||
$key | % { | ||
$packageArgs = @{ | ||
packageName = $packageName | ||
fileType = 'EXE' | ||
silentArgs = '--uninstall -s' | ||
validExitCodes = @(0) | ||
file = "$($_.UninstallString -replace ' --uninstall')" | ||
} | ||
|
||
Uninstall-ChocolateyPackage @packageArgs | ||
} | ||
} elseif ($key.Count -eq 0) { | ||
Write-Warning "$packageName has already been uninstalled by other means." | ||
} elseif ($key.Count -gt 1) { | ||
Write-Warning "$($key.Count) matches found!" | ||
Write-Warning "To prevent accidental data loss, no programs will be uninstalled." | ||
Write-Warning "Please alert package maintainer the following keys were matched:" | ||
$key | % {Write-Warning "- $($_.DisplayName)"} | ||
} |