mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-24 00:56:42 +00:00
Delete the extracted libraries when Limelight terminates
This commit is contained in:
@@ -67,6 +67,9 @@ public class LibraryHelper {
|
|||||||
destination.delete();
|
destination.delete();
|
||||||
destination.createNewFile();
|
destination.createNewFile();
|
||||||
|
|
||||||
|
// schedule the temporary file to be deleted when the program exits
|
||||||
|
destination.deleteOnExit();
|
||||||
|
|
||||||
//this is the janky java 6 way to copy a file
|
//this is the janky java 6 way to copy a file
|
||||||
FileOutputStream fos = null;
|
FileOutputStream fos = null;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user