/
Dropit.json
35 lines (35 loc) · 1.43 KB
/
Dropit.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
{
"version": "8.5.1",
"description": "一个可以自动管理文件的工具。Personal assistant to automatically manage your files.",
"homepage": "http://www.dropitproject.com",
"license": {
"identifier": "GNU General Public License",
"url": "https://www.gnu.org/licenses/gpl-3.0.html"
},
"url": "https://downloads.sourceforge.net/project/dropit/DropIt/v8.5.1/DropIt_v8.5.1_Portable.zip",
"hash": "sha1:882c765830b307d8b2d90b4411e061d39d79a28c",
"extract_dir": "DropIt_v8.5.1_Portable",
"shortcuts": [
[
"DropIt.exe",
"DropIt"
]
],
"pre_install": [
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"persist -dir @(\"$dir\\Profiles\") @(\"$persist_dir\\Profiles\")",
"persist -file @(\"$dir\\settings.ini\") @(\"$persist_dir\\settings.ini\")",
"create_app_lnk \"$dir\\DropIt.exe\" \"$desktop\\DropIt.lnk\""
],
"pre_uninstall": [
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name",
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"stop_process",
"remove_files @(\"$desktop\\DropIt.lnk\")"
],
"checkver": "Latest Version: v([\\d\\.]+)",
"autoupdate": {
"url": "https://downloads.sourceforge.net/project/dropit/DropIt/v$version/DropIt_v$version_Portable.zip",
"extract_dir": "DropIt_v$version_Portable"
}
}