mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
							parent
							
								
									786935d359
								
							
						
					
					
						commit
						1fd503daea
					
				@ -21,10 +21,6 @@
 | 
				
			|||||||
        "    $content = (Get-Content \"$bucketsdir\\main\\scripts\\vim\\$_\").Replace('$vim', $vimpath)",
 | 
					        "    $content = (Get-Content \"$bucketsdir\\main\\scripts\\vim\\$_\").Replace('$vim', $vimpath)",
 | 
				
			||||||
        "    if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
 | 
					        "    if ($global) { $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE') }",
 | 
				
			||||||
        "    Set-Content \"$dir\\$_\" $content",
 | 
					        "    Set-Content \"$dir\\$_\" $content",
 | 
				
			||||||
        "}",
 | 
					 | 
				
			||||||
        "if (!(Test-Path \"$persist_dir\\vimrc\")) {",
 | 
					 | 
				
			||||||
        "    New-Item \"$dir\\vimrc\" -ItemType File | Out-Null",
 | 
					 | 
				
			||||||
        "    Add-Content \"$dir\\vimrc\" \"set shell=$((Get-Command powershell).Path)\\ -ExecutionPolicy\\ Bypass\" -Encoding Ascii",
 | 
					 | 
				
			||||||
        "}"
 | 
					        "}"
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "bin": [
 | 
					    "bin": [
 | 
				
			||||||
@ -97,10 +93,6 @@
 | 
				
			|||||||
            "gVim"
 | 
					            "gVim"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "persist": [
 | 
					 | 
				
			||||||
        "vimfiles",
 | 
					 | 
				
			||||||
        "vimrc"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "checkver": {
 | 
					    "checkver": {
 | 
				
			||||||
        "url": "https://ftp.nluug.nl/pub/vim/pc",
 | 
					        "url": "https://ftp.nluug.nl/pub/vim/pc",
 | 
				
			||||||
        "regex": "gvim(?<ver>[\\d-]+)\\.exe\\s+V([\\d.]+)"
 | 
					        "regex": "gvim(?<ver>[\\d-]+)\\.exe\\s+V([\\d.]+)"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user