Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
starter doesn't del while reinstall
  • Loading branch information
NaveenB2004 committed Aug 10, 2023
1 parent 74b44f3 commit 45c2de5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HotspotMaker/src/main/java/Extensions/Extensions.java
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,9 @@ public void run() {
if (!new File(extDir + "ext-" + extId).exists()) {
new File(extDir + "ext-" + extId).mkdirs();
}
if (new File(extDir + "ext-" + extId + "\\.starter").exists()) {
FileUtils.delete(new File(extDir + "ext-" + extId + "\\.starter"));
}
FileUtils.moveFile(new File(extDir + "tmp\\ext-" + extId + ".starter"),
new File(extDir + "ext-" + extId + "\\.starter"));
ProcessBuilder extract = new ProcessBuilder("cmd.exe", "/c",
Expand Down

0 comments on commit 45c2de5

Please sign in to comment.