/
fastcopy.json
38 lines (38 loc) · 1.54 KB
/
fastcopy.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
{
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
"version": "5.7.7",
"description": "The fastest copy/backup software on Windows.",
"homepage": "https://fastcopy.jp",
"license": {
"identifier": "Freeware",
"url": "https://fastcopy.jp/help/fastcopy_eng.htm#license"
},
"url": "https://raw.githubusercontent.com/FastCopyLab/FastCopyDist2/main/FastCopy5.7.7_installer.exe",
"hash": "0e96ef61a63c744fd7a0429d81f025c183dd918b8b5347591f45b73996d01bbc",
"pre_install": [
"Invoke-ExternalCommand \"$dir\\$fname\" \"/EXTRACT$($architecture.Substring(0, 2))\" | Out-Null",
"\"$(if ($architecture -eq '64bit') { '_x64' } else { '' })\" | ForEach-Object {",
" Get-ChildItem \"$dir\\FastCopy$version$_\\*\" -Recurse | Move-Item -Destination $dir",
" Remove-Item @(",
" \"$dir\\$fname\"",
" \"$dir\\FastCopy$version$_\"",
" \"$dir\\msix\"",
" \"$dir\\setup.exe\"",
" ) -Recurse -Force -ErrorAction SilentlyContinue",
"}",
"if (!(Test-Path \"$persist_dir\\FastCopy2.ini\")) {",
" Set-Content -Encoding Ascii -Path \"$dir\\FastCopy2.ini\" -Value '[main]'",
"}"
],
"shortcuts": [
[
"FastCopy.exe",
"FastCopy"
]
],
"persist": "FastCopy2.ini",
"checkver": "FastCopy ver ([\\d.]+)",
"autoupdate": {
"url": "https://raw.githubusercontent.com/FastCopyLab/FastCopyDist2/main/FastCopy$version_installer.exe"
}
}