mirror of https://github.com/axmolengine/axmol.git
Update prebuilt url
This commit is contained in:
parent
e6a48e8f86
commit
854fb8fb5c
|
@ -97,8 +97,8 @@ set(platform_spec_path "${_path_prefix}${platform_spec_path}")
|
|||
|
||||
|
||||
### axpkg url
|
||||
set (axpkg_ver v56)
|
||||
set (axpkg_base_url "https://github.com/axmolengine/buildware/releases/download/${axpkg_ver}" CACHE STRING "" FORCE)
|
||||
set (axpkg_ver v58)
|
||||
set (axpkg_base_url "https://github.com/axmolengine/build1k/releases/download/${axpkg_ver}" CACHE STRING "" FORCE)
|
||||
|
||||
function(axpkg_require package_name dir)
|
||||
if(NOT IS_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/prebuilt)
|
||||
|
|
|
@ -63,7 +63,7 @@ if ($null -eq (Get-Module -ListAvailable -Name powershell-yaml)) {
|
|||
}
|
||||
|
||||
# check upstream prebuilts version
|
||||
download_file "https://github.com/axmolengine/buildware/releases/download/$VER/verlist.yml" "./tmp/verlist.yml" $true
|
||||
download_file "https://github.com/axmolengine/build1k/releases/download/$VER/verlist.yml" "./tmp/verlist.yml" $true
|
||||
$newVerList = ConvertFrom-Yaml -Yaml (Get-Content './tmp/verlist.yml' -raw)
|
||||
if ($newVerList.GetType() -eq [string]) {
|
||||
throw "Download version manifest file verlist.yml fail"
|
||||
|
|
Loading…
Reference in New Issue