Added warp-hash update and check
This commit is contained in:
parent
14f4cbc2ec
commit
fadf971074
12 changed files with 282 additions and 37 deletions
|
|
@ -16,6 +16,17 @@ import love.distributedrebirth.warpme.Warpᵐᵉ;
|
|||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||
public class WaterShotAddict {
|
||||
|
||||
public static void main(String[] args) {
|
||||
try {
|
||||
WaterShotAddict addict = new WaterShotAddict();
|
||||
addict.updateWarpHashes(new File(args[0]));
|
||||
System.exit(0);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean validateWarpChainLink(File folder) throws FileNotFoundException, X4OConnectionException, SAXException, IOException, NoSuchAlgorithmException {
|
||||
File fileWarpHash = new File(folder, Warpᵐᵉ.WARP_HASH);
|
||||
if (!fileWarpHash.exists()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue