{ "version": "2.2326.10", "description": "A cross-platform messaging and Voice over IP service.", "homepage": "https://www.whatsapp.com", "license": { "identifier": "Freeware", "url": "https://www.whatsapp.com/legal/" }, "architecture": { "64bit": { "url": "https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-2.2326.10-full.nupkg#/dl.7z", "hash": "sha1:f907779bee1ab94480e5189eab21a36f48f126fd" }, "32bit": { "url": "https://web.whatsapp.com/desktop/windows/release/ia32/WhatsApp-2.2326.10-full.nupkg#/dl.7z", "hash": "sha1:0c0a30999b49e3e778b657e462d39208c4dbd5dd" } }, "extract_dir": "lib\\net45", "pre_install": [ "# WhatsApp cannot work under junctions ('current'), therefore we need to manually create the shortcut (see #4951)", "$scoop_startmenu_folder = Join-Path $([Environment]::GetFolderPath($(if ($global) {'commonstartmenu'} else {'startmenu'}))) 'Programs\\Scoop Apps'", "$exe_dir = versiondir 'whatsapp' $version", "$wsShell = New-Object -ComObject WScript.Shell", "$wsShell = $wsShell.CreateShortcut(\"$scoop_startmenu_folder\\WhatsApp.lnk\")", "$wsShell.TargetPath = \"$exe_dir\\whatsapp.exe\"", "$wsShell.WorkingDirectory = \"$exe_dir\"", "$wsShell.Save()" ], "uninstaller": { "script": [ "$scoop_startmenu_folder = Join-Path $([Environment]::GetFolderPath($(if ($global) {'commonstartmenu'} else {'startmenu'}))) 'Programs\\Scoop Apps'", "Remove-Item \"$scoop_startmenu_folder\\WhatsApp.lnk\" -Force" ] }, "checkver": { "url": "https://web.whatsapp.com/desktop/windows/release/x64/RELEASES", "regex": "WhatsApp-([\\d.]+)-full\\.nupkg", "reverse": true }, "autoupdate": { "architecture": { "64bit": { "url": "https://web.whatsapp.com/desktop/windows/release/x64/WhatsApp-$version-full.nupkg#/dl.7z" }, "32bit": { "url": "https://web.whatsapp.com/desktop/windows/release/ia32/WhatsApp-$version-full.nupkg#/dl.7z" } }, "hash": { "url": "$baseurl/RELEASES" } } }