mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	python: Tweak manifest (#5850)
This commit is contained in:
		
							parent
							
								
									d0add1e4d8
								
							
						
					
					
						commit
						278e9343d9
					
				@ -55,8 +55,8 @@
 | 
				
			|||||||
            "}",
 | 
					            "}",
 | 
				
			||||||
            "Remove-Item \"$dir\\_tmp\", \"$dir\\setup.exe\" -Force -Recurse",
 | 
					            "Remove-Item \"$dir\\_tmp\", \"$dir\\setup.exe\" -Force -Recurse",
 | 
				
			||||||
            "if ($global) {",
 | 
					            "if ($global) {",
 | 
				
			||||||
            "    $pathext = (Get-EnvVar -Name PATHEXT -Global:$true) -replace ';.PYW?', ''",
 | 
					            "    $pathext = (Get-EnvVar -Name PATHEXT -Global) -replace ';.PYW?', ''",
 | 
				
			||||||
            "    Set-EnvVar -Name PATHEXT -Value \"$pathext;.PY;.PYW\" -Global:$true",
 | 
					            "    Set-EnvVar -Name PATHEXT -Value \"$pathext;.PY;.PYW\" -Global",
 | 
				
			||||||
            "}"
 | 
					            "}"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
@ -67,8 +67,8 @@
 | 
				
			|||||||
    "uninstaller": {
 | 
					    "uninstaller": {
 | 
				
			||||||
        "script": [
 | 
					        "script": [
 | 
				
			||||||
            "if ($global) {",
 | 
					            "if ($global) {",
 | 
				
			||||||
            "    $pathext = (Get-EnvVar -Name PATHEXT -Global:$true) -replace ';.PYW?', ''",
 | 
					            "    $pathext = (Get-EnvVar -Name PATHEXT -Global) -replace ';.PYW?', ''",
 | 
				
			||||||
            "    Set-EnvVar -Name PATHEXT -Value \"$pathext\" -Global:$true",
 | 
					            "    Set-EnvVar -Name PATHEXT -Value \"$pathext\" -Global",
 | 
				
			||||||
            "}"
 | 
					            "}"
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user