gui: RenameDialog: Rename tmp deobf map file too

Fixes /tmp/deobf_tmp_*.txt temporary files accumulation on renames.
This commit is contained in:
S-trace
2020-01-16 23:53:22 +03:00
committed by Skylot
parent 77fc6435a0
commit a0e13d0481
@@ -132,6 +132,7 @@ public class RenameDialog extends JDialog {
Files.copy(deobfMapPath, oldMap.toPath(), StandardCopyOption.REPLACE_EXISTING);
Files.copy(tmpFile.toPath(), deobfMapPath, StandardCopyOption.REPLACE_EXISTING);
Files.delete(oldMap.toPath());
Files.delete(tmpFile.toPath());
return true;
}