mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-21 05:00:43 +02:00
idk how i missed these files and folders
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# $args[0] = source.properties
|
||||
# $args[1] = NDK version to be checked
|
||||
|
||||
if ($args.Count -ne 2) {
|
||||
Write-Output "unknown"
|
||||
exit 1
|
||||
}
|
||||
|
||||
$ndkVersion = (Select-String -Pattern "Pkg.Revision = (\d+)" -Path $args[0] | ForEach-Object { $_.Matches[0].Groups[1].Value })
|
||||
|
||||
if ($ndkVersion -ge $args[1]) {
|
||||
Write-Output "yes"
|
||||
} else {
|
||||
Write-Output "no"
|
||||
}
|
||||
Reference in New Issue
Block a user