mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-10 18:51:21 +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.1367",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1367/gvim_8.0.1367_x86.zip",
|
|
"hash": "0be47e20bdaf1688aeb65d85042aad82e689762a43b4467b2ab64b69d5430b59"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1367/gvim_8.0.1367_x64.zip",
|
|
"hash": "edab8c1ed8c343195715c77cfde5beb4b6eb3ff26375a8bdf8c3c51eb24be1c5"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|