mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Reinstall wrapper if wrapperVersion.txt not found.
This commit is contained in:
parent
95ca037845
commit
be4af5dcce
1 changed files with 4 additions and 1 deletions
|
@ -214,6 +214,9 @@ public class Main {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
log(2, " Couldn't find $VERSION_TEXT, overwriting the installed wrapper");
|
||||
installWrapperFiles(version, wrapperVersion);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -245,7 +248,7 @@ public class Main {
|
|||
}
|
||||
|
||||
//
|
||||
// Save wrapper-version.txt
|
||||
// Save wrapperVersion.txt
|
||||
//
|
||||
log(2, " Writing " + VERSION_TXT);
|
||||
try (FileWriter fw = new FileWriter(VERSION_TXT)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue