mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-17 06:01:19 +00:00
* Adds haxe-preview version and Hashlink To use hashlink we need to have the preview version which is an in-development version of haxe. Hashlink is a VM that works with haxe and can also be used for native compilation of apps. * Modified requests from @Ash258 * Added newline for tests * Update haxe-dev and add support for releases candidate * Updated hash for hashlink * Added shorter regex as @Ash258 suggested
46 lines
1.7 KiB
JSON
46 lines
1.7 KiB
JSON
{
|
|
"homepage": "https://haxe.org/",
|
|
"description": "Pre-release version of Haxe, for a stable version use haxe. Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.",
|
|
"version": "4.0.0-rc.1",
|
|
"license": "GPL-2.0-or-later",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-rc.1/haxe-4.0.0-rc.1-win64.zip",
|
|
"hash": "ef533d35e628cf8bb28753ef25c242ecc439173bfb2abaddcad9eee690d0b9c0"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/HaxeFoundation/haxe/releases/download/4.0.0-rc.1/haxe-4.0.0-rc.1-win.zip",
|
|
"hash": "5ab125971dc8696af30035dc5af44a68a2f956d53682ca4f4c021c30b09e87f5"
|
|
}
|
|
},
|
|
"bin": [
|
|
"haxe.exe",
|
|
"haxelib.exe"
|
|
],
|
|
"env_set": {
|
|
"HAXEPATH": "$dir"
|
|
},
|
|
"env_add_path": "$dir",
|
|
"persist": "lib",
|
|
"depends": "neko",
|
|
"pre_install": [
|
|
"if(Test-Path \"$dir\\haxe_*\") {",
|
|
" Move-Item -Force \"$dir\\haxe_*\\*\" \"$dir\"",
|
|
"}"
|
|
],
|
|
"checkver": {
|
|
"url": "https://github.com/HaxeFoundation/haxe/releases",
|
|
"re": "([\\d\\.]+-(rc|preview)[\\d\\.]+)"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/HaxeFoundation/haxe/releases/download/$version/haxe-$version-win64.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/HaxeFoundation/haxe/releases/download/$version/haxe-$version-win.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|