forked from nike4613/QuestLoader
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathbuild.ps1
28 lines (22 loc) · 904 Bytes
/
build.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$ridylPath = "$PSScriptRoot/RiDyL"
$libmainPath = "$PSScriptRoot/libmain"
$libmodloaderPath = "$PSScriptRoot/libmodloader"
if (-not (Test-Path "$libmainPath/ndkpath.txt" -PathType Leaf)) {
Copy-Item "$PSScriptRoot/ndkpath.txt" "$libmainPath/ndkpath.txt"
}
if (-not (Test-Path "$ridylPath/ndkpath.txt" -PathType Leaf)) {
Copy-Item "$PSScriptRoot/ndkpath.txt" "$ridylPath/ndkpath.txt"
}
if (-not (Test-Path "$libmodloaderPath/ndkpath.txt" -PathType Leaf)) {
Copy-Item "$PSScriptRoot/ndkpath.txt" "$libmodloaderPath/ndkpath.txt"
}
Set-Location $libmainPath
."$libmainPath/build.ps1"
Set-Location $PSScriptRoot
Set-Location $ridylPath
."$ridylPath/build.ps1"
Set-Location $PSScriptRoot
Set-Location $libmodloaderPath
."$libmodloaderPath/build.ps1"
Set-Location $PSScriptRoot
Rename-Item "$libmodloaderPath/libs/arm64-v8a/libmodloader.so" "$libmodloaderPath/libs/arm64-v8a/libmodloader64.so"