mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-07-31 07:12:25 +08:00
43 lines
1.7 KiB
JSON
43 lines
1.7 KiB
JSON
{
|
|
"version": "3.0.4",
|
|
"description": "Free end-to-end encrypted cloud storage made by Proton.",
|
|
"homepage": "https://proton.me/drive",
|
|
"license": "GPL-3.0-only",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://proton.me/download/drive/windows/3.0.4/x64/Proton%20Drive%20Setup%203.0.4.exe",
|
|
"hash": "dbf3c7780e4158495f36bc94a7a03194d5129b4a8dd95b1e068207e84603472c"
|
|
},
|
|
"arm64": {
|
|
"url": "https://proton.me/download/drive/windows/3.0.4/arm64/Proton%20Drive%20Setup%203.0.4.exe",
|
|
"hash": "5776edc5255529ea4f37870554eb60fab896bfab810048c34ce6c1b7212d0cee"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"Expand-DarkArchive -Path \"$dir\\$fname\" -DestinationPath \"$dir\\tmp\" -Removal",
|
|
"$msi = Get-ChildItem \"$dir\\tmp\\AttachedContainer\\*.msi\" | Select-Object -First 1 -ExpandProperty FullName",
|
|
"Expand-MsiArchive $msi -ExtractDir 'PFiles64\\Proton\\Drive' -DestinationPath \"$dir\"",
|
|
"Remove-Item \"$dir\\tmp\" -Recurse -Force"
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"ProtonDrive.exe",
|
|
"Proton\\Proton Drive"
|
|
]
|
|
],
|
|
"checkver": {
|
|
"url": "https://proton.me/download/drive/windows/version.json",
|
|
"jsonpath": "$.Releases[?(@.CategoryName == 'Stable')].Version"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://proton.me/download/drive/windows/$version/x64/Proton%20Drive%20Setup%20$version.exe"
|
|
},
|
|
"arm64": {
|
|
"url": "https://proton.me/download/drive/windows/$version/arm64/Proton%20Drive%20Setup%20$version.exe"
|
|
}
|
|
}
|
|
}
|
|
}
|