Introduce first class support for Android (#5772)
This commit is contained in:
parent
bbeadf184e
commit
c39e202976
15 changed files with 109 additions and 14 deletions
|
|
@ -9,7 +9,11 @@ when defined(windows):
|
|||
discard
|
||||
else:
|
||||
let dir1 = getCurrentDir()
|
||||
var process = startProcess("/usr/bin/env", "/usr/bin", ["true"])
|
||||
var process: Process
|
||||
when defined(android):
|
||||
process = startProcess("/system/bin/env", "/system/bin", ["true"])
|
||||
else:
|
||||
process = startProcess("/usr/bin/env", "/usr/bin", ["true"])
|
||||
let dir2 = getCurrentDir()
|
||||
discard process.waitForExit()
|
||||
process.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue