mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 23:36:55 +00:00
Delete the extracted libraries when Limelight terminates
This commit is contained in:
1 parent
bddd1c10e8
commit
a265f94d09
1 file changed
+3
@@ -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