mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-05 06:51:19 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"homepage": "http://www.vim.org",
|
|
"license": "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license",
|
|
"version": "8.0.1188",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1188/gvim_8.0.1188_x86.zip",
|
|
"hash": "1a3862df7e495a2d0de0c7d6da0ab24da8496a6fd4a32aa9f9dad4d844372fc6"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1188/gvim_8.0.1188_x64.zip",
|
|
"hash": "1b53920a46c9cbc210a8055c2faf5411eafb48876ecc9076a71cf931d98cb067"
|
|
}
|
|
},
|
|
"extract_dir": "vim\\vim80",
|
|
"bin": [
|
|
"vim.exe",
|
|
"gvim.exe"
|
|
],
|
|
"post_install": "if( !(test-path ~\\.vimrc) -and !(test-path ~\\_vimrc) -and !(test-path ~\\vimfiles\\vimrc) -and !(test-path $env:VIM\\_vimrc) ) {
|
|
cp \"$dir\\vimrc_example.vim\" ~\\_vimrc
|
|
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\_vimrc -append -encoding ascii
|
|
echo 'Default vimrc file created in ~/_vimrc, with shell set to PowerShell.'
|
|
} else { echo 'Existing vimrc file found, no default configuration created' }",
|
|
"checkver": {
|
|
"github": "https://github.com/vim/vim-win32-installer"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip",
|
|
"extract_dir": "vim\\vim$majorVersion$minorVersion"
|
|
}
|
|
}
|
|
},
|
|
"suggest": {
|
|
"vimtutor": "vimtutor"
|
|
}
|
|
}
|