mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
							parent
							
								
									8c21bda099
								
							
						
					
					
						commit
						7bfcd3f478
					
				@ -13,27 +13,11 @@
 | 
				
			|||||||
            "extract_dir": "helix-23.10-x86_64-windows"
 | 
					            "extract_dir": "helix-23.10-x86_64-windows"
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "pre_install": [
 | 
					 | 
				
			||||||
        "# NOTE: Remove the migration script after 6 months (2024-01-22)",
 | 
					 | 
				
			||||||
        "if ((Test-Path \"$env:APPDATA\\helix\\config.toml\") -and (!(Test-Path \"$persist_dir\\config.toml\"))) {",
 | 
					 | 
				
			||||||
        "  info 'Migrating config file...'",
 | 
					 | 
				
			||||||
        "  info \"Previous config path: '$env:APPDATA\\helix\\config.toml'\"",
 | 
					 | 
				
			||||||
        "  info \"Current config path: '$persist_dir\\config.toml'\"",
 | 
					 | 
				
			||||||
        "  ensure \"$persist_dir\"",
 | 
					 | 
				
			||||||
        "  Copy-Item \"$env:APPDATA\\helix\\config.toml\" \"$persist_dir\\config.toml\"",
 | 
					 | 
				
			||||||
        "}",
 | 
					 | 
				
			||||||
        "# END"
 | 
					 | 
				
			||||||
    ],
 | 
					 | 
				
			||||||
    "bin": [
 | 
					    "bin": [
 | 
				
			||||||
 | 
					        "hx.exe",
 | 
				
			||||||
        [
 | 
					        [
 | 
				
			||||||
            "hx.exe",
 | 
					            "hx.exe",
 | 
				
			||||||
            "hx",
 | 
					            "helix"
 | 
				
			||||||
            "--config \"$persist_dir\\config.toml\""
 | 
					 | 
				
			||||||
        ],
 | 
					 | 
				
			||||||
        [
 | 
					 | 
				
			||||||
            "hx.exe",
 | 
					 | 
				
			||||||
            "helix",
 | 
					 | 
				
			||||||
            "--config \"$persist_dir\\config.toml\""
 | 
					 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "checkver": {
 | 
					    "checkver": {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user