generated from ScoopInstaller/BucketTemplate
/
clipboard-online.json
49 lines (49 loc) · 1.57 KB
/
clipboard-online.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": "0.2.7",
"description": "Share content between 💻Windows and 📱iOS or 📱Android",
"homepage": "https://github.com/YanxinTang/clipboard-online",
"license": "Unlicense",
"architecture": {
"64bit": {
"url": "https://github.com/YanxinTang/clipboard-online/releases/download/v0.2.7/clipboard-online.exe",
"hash": "123252DB2ADD7AF730062878737A8E989017A42A70C47F90560103800B9A9A69"
}
},
"pre_install": [
"$config = @'",
"{",
" \"port\": \"8086\",",
" \"authkey\": \"\",",
" \"authkeyExpiredTimeout\": 30,",
" \"logLevel\": \"warning\",",
" \"tempDir\": \"./temp\",",
" \"reserveHistory\": false,",
" \"notify\": {",
" \"copy\": true,",
" \"paste\": true",
" }",
"}",
"'@",
"if (!(Test-Path $persist_dir\\log.txt) ) { New-Item -ItemType File -Path \"$dir\\log.txt\" | Out-Null }",
"if (!(Test-Path $persist_dir\\config.json)) { New-Item -ItemType File -Path \"$dir\\config.json\" -Value $config | Out-Null }"
],
"shortcuts": [
[
"clipboard-online.exe",
"Clipboard-online"
]
],
"persist": [
"temp",
"config.json",
"log.txt"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/YanxinTang/clipboard-online/releases/download/v$version/clipboard-online.exe"
}
}
}
}