mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-03 22:46:14 +00:00
Delete the extracted libraries when Limelight terminates
This commit is contained in:
@@ -67,6 +67,9 @@ public class LibraryHelper {
|
||||
destination.delete();
|
||||
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
|
||||
FileOutputStream fos = null;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user