Skip to content

Commit 9b86d2f

Browse files
committed
I'll add details in the PR
1 parent 856b31e commit 9b86d2f

File tree

1 file changed

+37
-13
lines changed

1 file changed

+37
-13
lines changed

bucket/bitwarden.json

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,53 @@
33
"description": "Password management solutions for individuals, teams, and business organizations",
44
"homepage": "https://bitwarden.com",
55
"license": "GPL-3.0-or-later",
6-
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v2025.2.1/Bitwarden-Portable-2025.2.1.exe",
7-
"hash": "6b705acd9c3ee391d72d993c649f309e652cf111e2b1fa24d03ad1880f0fb0aa",
6+
"architecture": {
7+
"32bit": {
8+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v2025.2.1/bitwarden-2025.2.1-ia32.nsis.7z",
9+
"hash": "2f9959351c62ba020704f03d600593b8e59fbc161f2db3d3170e10b4a46f8589"
10+
},
11+
"64bit": {
12+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v2025.2.1/bitwarden-2025.2.1-x64.nsis.7z",
13+
"hash": "ccadc00b8e40ef3e7184bce4d3b4b94cb7b5d1ae8c529f6f52cc9c24a05aa502"
14+
},
15+
"arm64": {
16+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v2025.2.1/bitwarden-2025.2.1-arm64.nsis.7z",
17+
"hash": "215abd822d52b9a9509c857e18105aca3ad72767f68e1a4cb694e6b04986a936"
18+
}
19+
},
820
"pre_install": [
9-
"Rename-Item \"$dir\\Bitwarden-Portable-$version.exe\" 'Bitwarden.exe'",
10-
"# copy config from non-portable version",
11-
"if (!(Test-Path \"$dir\\bitwarden-appdata\\*\") -and (Test-Path \"$env:Appdata\\Bitwarden\")) {",
12-
" if (!(Test-Path \"$dir\\bitwarden-appdata\")) { New-Item \"$dir\\bitwarden-appdata\" -ItemType Directory | Out-Null }",
13-
" Copy-Item \"$env:Appdata\\Bitwarden\\*\" \"$dir\\bitwarden-appdata\\\" -Recurse -Force",
14-
"}"
21+
"# Remove built in updater info",
22+
"$null = Remove-Item -Force -Path \"$dir\\resources\\app-update.yml\""
1523
],
1624
"bin": "Bitwarden.exe",
1725
"shortcuts": [
1826
[
1927
"Bitwarden.exe",
20-
"Bitwarden"
28+
"Bitwarden",
29+
"--user-data-dir=\"$dir\\data\""
2130
]
2231
],
23-
"persist": "bitwarden-appdata",
32+
"persist": "data",
2433
"checkver": {
25-
"url": "https://api.github.com/repositories/53538899/releases",
26-
"regex": "tag/desktop-v([\\d.]+)"
34+
"url": "https://api.github.com/repos/bitwarden/clients/releases",
35+
"jsonpath": "$[*].tag_name",
36+
"regex": "desktop-v([\\d.]+)"
2737
},
2838
"autoupdate": {
29-
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v$version/Bitwarden-Portable-$version.exe"
39+
"architecture": {
40+
"32bit": {
41+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v$version/bitwarden-$version-ia32.nsis.7z"
42+
},
43+
"64bit": {
44+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v$version/bitwarden-$version-x64.nsis.7z"
45+
},
46+
"arm64": {
47+
"url": "https://github.com/bitwarden/clients/releases/download/desktop-v$version/bitwarden-$version-arm64.nsis.7z"
48+
}
49+
},
50+
"hash": {
51+
"url": "$baseurl/sha256-checksums.txt",
52+
"regex": "$sha256\\s+$basename"
53+
}
3054
}
3155
}

0 commit comments

Comments
 (0)