/
vim-win32.json
126 lines (126 loc) · 3.74 KB
/
vim-win32.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"homepage": "https://www.vim.org",
"description": "A highly configurable text editor for efficiently creating and changing any kind of text.",
"license": "Vim",
"version": "8.2.0801",
"architecture": {
"64bit": {
"url": [
"https://github.com/vim/vim-win32-installer/releases/download/v8.2.0801/gvim_8.2.0801_x64.zip",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/vim/install-context.reg",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/vim/uninstall-context.reg"
],
"hash": [
"b78da2246aff0cc789ca540a51e5191b9f5673baadab6521c3fa55bbca6da9e1",
"16a29881837047d783e8556506c73bbb292bdfefe042d77564d3c166d92b9d98",
"49225d3470bf4b397d3cab865eddca6e47610be356f812588588c2661a11557e"
]
},
"32bit": {
"url": [
"https://github.com/vim/vim-win32-installer/releases/download/v8.2.0801/gvim_8.2.0801_x86.zip",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/vim/install-context.reg",
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/master/scripts/vim/uninstall-context.reg"
],
"hash": [
"d5a91771fd88a5dd8f53a02f1e299057d9630a388f86761f50aa397c1deeddad",
"16a29881837047d783e8556506c73bbb292bdfefe042d77564d3c166d92b9d98",
"49225d3470bf4b397d3cab865eddca6e47610be356f812588588c2661a11557e"
]
}
},
"extract_dir": "vim\\vim82",
"pre_install": [
"Remove-Item \"$dir\\`$*\", \"$dir\\uninstal.*\", \"$dir\\install.exe\" -Recurse",
"'install-context.reg', 'uninstall-context.reg' | ForEach-Object {",
" $vimpath = \"$(current_dir $dir)\\gVim.exe\".Replace('\\', '\\\\')",
" $content = (Get-Content \"$dir\\$_\").Replace('$vim', $vimpath)",
" if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
" Set-Content \"$dir\\$_\" $content",
"}"
],
"bin": [
"vim.exe",
[
"vim.exe",
"vi"
],
[
"vim.exe",
"ex",
"-e"
],
[
"vim.exe",
"view",
"-R"
],
[
"vim.exe",
"rvim",
"-Z"
],
[
"vim.exe",
"rview",
"-RZ"
],
[
"vim.exe",
"vimdiff",
"-d"
],
"gvim.exe",
[
"gvim.exe",
"gview",
"-R"
],
[
"gvim.exe",
"evim",
"-y"
],
[
"gvim.exe",
"eview",
"-Ry"
],
[
"gvim.exe",
"rgvim",
"-Z"
],
[
"gvim.exe",
"rgview",
"-RZ"
],
[
"gvim.exe",
"gvimdiff",
"-d"
],
"xxd.exe"
],
"shortcuts": [
[
"gvim.exe",
"gVim"
]
],
"checkver": {
"github": "https://github.com/vim/vim-win32-installer"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip"
},
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip"
}
},
"extract_dir": "vim\\vim$majorVersion$minorVersion"
}
}