mirror of https://github.com/axmolengine/axmol.git
Update script
This commit is contained in:
parent
a726bdd965
commit
3b7e08d89c
|
@ -84,12 +84,12 @@ function update_lib
|
|||
download_and_expand "https://github.com/axmolengine/build1k/releases/download/$VER/$lib_name.zip" "./tmp/package_$VER/$lib_name.zip" "./tmp/package_$VER"
|
||||
|
||||
Remove-Item $prebuilt_dir -Recurse -Force
|
||||
Copy-Item ./tmp/package_$VER/$lib_name/prebuilt $lib_dir/ -Container
|
||||
Copy-Item ./tmp/package_$VER/$lib_name/prebuilt $lib_dir/ -Container -Recurse
|
||||
|
||||
if (Test-Path "./tmp/package_$VER/$lib_name/include" -PathType Container) {
|
||||
echo "Update inc files for ${lib_dir}"
|
||||
Remove-Item $inc_dir -Recurse -Force
|
||||
Copy-Item ./tmp/package_$VER/$lib_name/include $lib_dir/ -Container
|
||||
Copy-Item ./tmp/package_$VER/$lib_name/include $lib_dir/ -Container -Recurse
|
||||
}
|
||||
|
||||
++$updateCount
|
||||
|
|
Loading…
Reference in New Issue