mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "5.7.1",
 | 
						|
    "homepage": "https://www.swift.org/",
 | 
						|
    "description": "A general-purpose programming language built using a modern approach to safety, performance, and software design patterns.",
 | 
						|
    "license": "Apache-2.0",
 | 
						|
    "suggest": {
 | 
						|
        "python": "main/python",
 | 
						|
        "vcredist": "extras/vcredist"
 | 
						|
    },
 | 
						|
    "notes": [
 | 
						|
        "To make Swift toolchain work, you must have Visual Studio and Windows SDK components installed.",
 | 
						|
        "Read https://www.swift.org/getting-started/#support-files for Supporting Files installation guide."
 | 
						|
    ],
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://download.swift.org/swift-5.7.1-release/windows10/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-windows10.exe#/swiftsetup.exe",
 | 
						|
            "hash": "ff718e9f6605b9449695365a70cc9ea38a1ed962abf09694d07b164c3c88f9d4"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "Expand-DarkArchive \"$dir\\swiftsetup.exe\" \"$dir\\extract_folder\" -Removal",
 | 
						|
        "Get-ChildItem \"$dir\\extract_folder\\AttachedContainer\\*.msi\" | ForEach-Object { Expand-MsiArchive $_ \"$dir\" }",
 | 
						|
        "Remove-Item \"$dir\\extract_folder\" -Recurse | Out-Null"
 | 
						|
    ],
 | 
						|
    "env_add_path": "Developer\\Toolchains\\unknown-Asserts-development.xctoolchain\\usr\\bin",
 | 
						|
    "env_set": {
 | 
						|
        "SDKROOT": "$dir\\Developer\\Platforms\\Windows.platform\\Developer\\SDKs\\Windows.sdk",
 | 
						|
        "DEVELOPER_DIR": "$dir\\Developer"
 | 
						|
    },
 | 
						|
    "bin": "runtime-development\\usr\\bin\\plutil.exe",
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://github.com/apple/swift",
 | 
						|
        "regex": "/swift-([\\d.]+)-RELEASE"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://download.swift.org/swift-$version-release/windows10/swift-$version-RELEASE/swift-$version-RELEASE-windows10.exe#/swiftsetup.exe"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |