mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.8.0",
 | 
						|
    "description": "An LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain for native binaries runnable without a virtual machine.",
 | 
						|
    "homepage": "https://kotlinlang.org",
 | 
						|
    "license": "Apache-2.0",
 | 
						|
    "notes": "Please keep in mind that this is still marked as an experimental feature!",
 | 
						|
    "suggest": {
 | 
						|
        "Kotlin": "kotlin"
 | 
						|
    },
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/JetBrains/kotlin/releases/download/v1.8.0/kotlin-native-windows-x86_64-1.8.0.zip#/dl.zip_",
 | 
						|
            "hash": "3c552df79b62afb229e3e3dcef2797fd1eaae307b0903ccfd473665bb4a2238d"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "# Manually extract because archive name and directory name sometimes does not match.",
 | 
						|
        "# e.g. archive is named 'kotlin-native-windows-x86_64-1.6.21-349.1', but contains folder 'kotlin-native-windows-x86_64-1.6.21-349'",
 | 
						|
        "Expand-7zipArchive \"$dir\\dl.zip_\" \"$dir\" -Removal | Out-Null",
 | 
						|
        "$folder = Get-ChildItem \"$dir\\kotlin-native-windows-x86_64-*\" | Select -First 1 -ExpandProperty FullName",
 | 
						|
        "Move-Item \"$folder\\*\" \"$dir\\\"",
 | 
						|
        "Remove-Item \"$folder\" -Force -Recurse"
 | 
						|
    ],
 | 
						|
    "bin": [
 | 
						|
        "bin\\cinterop.bat",
 | 
						|
        "bin\\jsinterop.bat",
 | 
						|
        "bin\\klib.bat",
 | 
						|
        "bin\\konanc.bat",
 | 
						|
        "bin\\kotlinc.bat",
 | 
						|
        "bin\\kotlinc-native.bat",
 | 
						|
        "bin\\run_konan.bat"
 | 
						|
    ],
 | 
						|
    "env_add_path": "bin",
 | 
						|
    "checkver": {
 | 
						|
        "github": "https://github.com/JetBrains/kotlin",
 | 
						|
        "regex": "windows-x86_64-([\\d.\\-]+)\\.zip"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://github.com/JetBrains/kotlin/releases/download/v$matchHead/kotlin-native-windows-x86_64-$version.zip#/dl.zip_"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "https://api.github.com/repos/JetBrains/kotlin/releases/latest",
 | 
						|
            "regex": "(?sm)kotlin-native-windows-x86_64[\\w.-]+\\s+\\|\\s+$sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |