mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] verifyHDir после старта WatchService
This commit is contained in:
parent
5d77b9c53a
commit
67b88bc593
1 changed files with 2 additions and 2 deletions
|
@ -466,12 +466,12 @@ public static void main(String... args) throws Throwable {
|
||||||
// else hdir.removeR(s.file);
|
// else hdir.removeR(s.file);
|
||||||
//}
|
//}
|
||||||
Launcher.profile.pushOptionalFile(clientHDir,false);
|
Launcher.profile.pushOptionalFile(clientHDir,false);
|
||||||
verifyHDir(params.assetDir, assetHDir, assetMatcher, digest);
|
|
||||||
verifyHDir(params.clientDir, clientHDir, clientMatcher, digest);
|
|
||||||
Launcher.modulesManager.postInitModules();
|
Launcher.modulesManager.postInitModules();
|
||||||
// Start WatchService, and only then client
|
// Start WatchService, and only then client
|
||||||
CommonHelper.newThread("Asset Directory Watcher", true, assetWatcher).start();
|
CommonHelper.newThread("Asset Directory Watcher", true, assetWatcher).start();
|
||||||
CommonHelper.newThread("Client Directory Watcher", true, clientWatcher).start();
|
CommonHelper.newThread("Client Directory Watcher", true, clientWatcher).start();
|
||||||
|
verifyHDir(params.assetDir, assetHDir, assetMatcher, digest);
|
||||||
|
verifyHDir(params.clientDir, clientHDir, clientMatcher, digest);
|
||||||
launch(profile, params);
|
launch(profile, params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue