Closed SkeathyTomas closed 3 years ago
scoop cleanup *
removes all old versions of apps. There is nothing the bucket can do.
scoop cleanup *
removes all old versions of apps. There is nothing the bucket can do.
but it will remove the current wpsoffice and cause status error only when old versions of clash-for-windows exist. check the uninstall command please.
here is the script for wpsoffcie:
{
"version": "11.2.0.9396",
"description": "Complete office suite.",
"homepage": "https://www.wps.com",
"license": {
"identifier": "Freeware",
"url": "https://www.wps.com/eula"
},
"url": "https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/11.2.0.9396/WPSOffice_11.2.0.9396.exe",
"hash": "7e31c48c737fed8eee2d9cdece7c3a1f8d5ec8d2dcadce807464ec11bd6db5fb",
"pre_install": [
"Expand-7zipArchive \"$dir\\$fname\" -Switches '-t#'",
"Remove-Item \"$dir\\*\" -Exclude '4.7z' -Recurse",
"Expand-7zipArchive \"$dir\\4.7z\" -ExtractDir 'office6' -Removal"
],
"bin": "wpsoffice.exe",
"shortcuts": [
[
"wpsoffice.exe",
"WPS Office"
]
],
"checkver": {
"url": "https://pc.wps.com",
"regex": "WPSOffice_([\\d.]+)\\.exe"
},
"autoupdate": {
"url": "https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/$version/WPSOffice_$version.exe"
}
}
The second time I met the bug.