/
WiseCare365.json
41 lines (41 loc) · 2.13 KB
/
WiseCare365.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"version": "6.7.1.643",
"description": "Windows 系统清理和加速工具。Free Windows PC Cleaner and Speed up Tool",
"homepage": "https://www.wisecleaner.com/wise-care-365.html",
"license": "Freeware",
"url": "https://downloads.wisecleaner.com/soft/WiseCare365_6.7.1.643.exe#/_installer_.exe",
"hash": "e4fa9544278e00dc9b7b7a2be2504d4befd5da3fd70b009c21db4f5bcba19a5e",
"shortcuts": [
[
"WiseCare365.exe",
"Wise Care 365"
]
],
"pre_install": [
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"$path_exe=\"$dir\\_installer_.exe\"",
"& $path_exe /VerySilent /Dir=\"$dir\"",
"$core_exe=\"$dir\\WiseCare365.exe\"",
"sleep_install $core_exe",
"persist -dir @(\"$user_AppData\\Wise Care 365\") @(\"$persist_dir\\Wise Care 365\")",
"persist -file @(\"$dir\\DefragOptions.ini\") @(\"$persist_dir\\DefragOptions.ini\")",
"clean_redundant_files @($path_exe,\"$admin_apps_lnk\\Wise Care 365\")",
"remove_app_lnk @(\"Wise Care 365.lnk\")"
],
"pre_uninstall": [
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name",
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"confirm (handle_lang {\"卸载暂停。`nWiseCare365 需要先手动关闭软件再进行卸载,请确认已经关闭了软件。`n然后按下 Enter(回车键) 继续进行卸载,或者按下其他任意键取消本次卸载。\"} {\"Uninstall paused.`nWiseCare365 needs to be manually closed to continue to uninstall.`nPlease confirm that you have closed it.`nPress Enter to continue or other key to cancel the uninstall.\"})",
"remove_files @(\"$user_AppData\\Wise Care 365\")",
"$ui_exe=\"$dir\\unins000.exe\"",
"try{ & $ui_exe /VerySilent }catch{}",
"sleep_uninstall $ui_exe"
],
"checkver": {
"url": "https://www.wisecleaner.com/download.html",
"regex": "WiseCare365_([\\d\\.]+)\\.zip"
},
"autoupdate": {
"url": "https://downloads.wisecleaner.com/soft/WiseCare365_$version.exe#/_installer_.exe"
}
}