generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
smartzip.json
49 lines (49 loc) · 2.61 KB
/
smartzip.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
42
43
44
45
46
47
48
49
{
"version": "3.4",
"description": "用于扩展7-Zip的脚本",
"homepage": "https://github.com/vvyoko/SmartZip",
"license": "MIT",
"depends": "main/7zip",
"architecture": {
"64bit": {
"url": "https://github.com/vvyoko/SmartZip/releases/download/3.4/SmartZip.3.4.fix1.zip",
"hash": "2ea1703c91a738f33d49b4025ea56ec231edf9a15c6bd8e2b03b73ae73d194ba",
"extract_dir": "SmartZip"
}
},
"pre_install": [
"ensure \"$persist_dir\"",
"$conf = \"$persist_dir\\SmartZip.ini\"",
"if (!(Test-Path \"conf\")) {",
" $7zdir = \"$(appdir 7zip)\\current\"",
" $openAdd = '.zip\" -tzip -mx=0 -aou -ad'",
" $add = '.zip\"'",
" $content = \"[set]`nzipDir=$7zdir`nicon=%SmartZipDir%\\SmartZip.exe`nnesting=1`nnestingMuilt=0`npartSkip=1`ndelSource=0`ndelWhenHasPass=0`nautoAddPass=0`ndynamicPassSort=0`nautoRemovePass=0`ntargetDir=`ntest=0`nsuccessPercent=90`nlogLevel=0`ncmdLog=0`nhideRunSize=10`naddDir2Pass=0`n[password]`n1=`n[menu]`nopenZipName=用7-Zip打开`nunZipName=智能解压`nunZipCPName=手动指定代码页解压`naddZipName=压缩`n[ext]`n1=zip`n2=rar`n3=7z`n4=001`n5=cab`n6=bz2`n7=gz`n8=gzip`n9=tar`n[extExp]`n1=^\\d+$`n2=zi`n3=7`n4=z`n[extForOpen]`n1=iso`n2=apk`n3=wim`n4=exe`n[renameExt]`n1=mp+3<--->mp3`n[renameName]`n1=666666<--->`n[renameExp]`n1=^[ `t]+<--->`n2=[ `t]+$<--->`n[excludeExt]`n1=`n[excludeName]`n1=`n[deleteExp]`n1=`n[7z]`nopenAdd=$openAdd`nadd=$add`n[unZipCheckError]`n1=Wrong password<--->1`n2=Cannot open encrypted archive<--->1`n3=No files to process<--->1`n4=ERROR:<--->10`n[unZipCheckErrorExp]`n1=`n[unZipCheckSuccess]`n1=Everything is Ok<--->1`n[unZipCheckSuccessExp]`n1=`n[openZipCheckError]`n1=Errors: 1<--->1`n2=ERROR:<--->1`n[openZipCheckErrorExp]`n1=`n[openZipCheckSuccess]`n1=Enter password (will not be echoed):<--->1`n[openZipCheckSuccessExp]`n1=\\d*-\\d*-\\d* *\\d*:\\d*:\\d* *\\d* *\\d* *(\\d*) files(, (\\d*) folders)?<--->1\"",
" Add-Content \"$conf\" \"$content\"",
"}"
],
"persist": "SmartZip.ini",
"bin": [
[
"SmartZip.exe",
"smartzip"
]
],
"shortcuts": [
[
"SmartZip.exe",
"SmartZip"
]
],
"checkver": {
"github": "https://github.com/vvyoko/SmartZip",
"regex": "/download/([\\d.]+)/SmartZip\\.([[\\d.(?:fix)(?:\\d+)]+).zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/vvyoko/SmartZip/releases/download/$match1/SmartZip.$match2.zip"
}
}
}
}