player
This commit is contained in:
parent
35deccb167
commit
ef495edbb6
|
@ -300,7 +300,14 @@ public class MainActivity extends ComponentActivity implements Choreographer.Fra
|
|||
return;
|
||||
}
|
||||
Util.deleteFiles(size, null);
|
||||
for(var header : headers) if(! "program".equals(header.getFileName())) zip.extractFile(header, Util.programDir);
|
||||
for(var header : headers) if(! "program".equals(header.getFileName())) {
|
||||
Util.println(" name: " + header.getFileName());
|
||||
var fOut = new FileOutputStream(Util.programDir + "/" + header.getFileName());
|
||||
IOs.writeCloseIn(fOut, zip.getInputStream(header));
|
||||
fOut.flush();
|
||||
fOut.getFD().sync();
|
||||
fOut.close();
|
||||
}
|
||||
var json = progJson.toByteArray();
|
||||
runOnUiThread(() -> {
|
||||
Util.println("Import Succeed");
|
||||
|
|
Loading…
Reference in New Issue
Block a user