add fetch.md
This commit is contained in:
14
fetch.md
Normal file
14
fetch.md
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
```
|
||||||
|
$adb = "C:\Users\david\AppData\Local\Android\Sdk\platform-tools\adb.exe"
|
||||||
|
1..9 | ForEach-Object {
|
||||||
|
$n = "{0:D3}" -f $_
|
||||||
|
$name = "Rhythmology_$n.json"
|
||||||
|
$args = @(
|
||||||
|
"exec-out", "run-as", "at.lockstep.player", "cat",
|
||||||
|
"files/beat_annotations/$name"
|
||||||
|
)
|
||||||
|
Start-Process -FilePath $adb -ArgumentList $args `
|
||||||
|
-NoNewWindow -Wait -RedirectStandardOutput $name
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user