wait for ClientAppManager like the Windows launcher does
This commit is contained in:
@ -60,8 +60,13 @@ public class MacLauncher {
|
|||||||
sleep(1000);
|
sleep(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// then wait for ClientAppManager
|
||||||
|
ClientAppManager cam;
|
||||||
|
while ((cam = ctx.clientAppManager()) == null) {
|
||||||
|
sleep(1000);
|
||||||
|
}
|
||||||
|
|
||||||
// then wait for the update manager
|
// then wait for the update manager
|
||||||
ClientAppManager cam = ctx.clientAppManager();
|
|
||||||
UpdateManager um;
|
UpdateManager um;
|
||||||
while ((um = (UpdateManager) cam.getRegisteredApp(UpdateManager.APP_NAME)) == null) {
|
while ((um = (UpdateManager) cam.getRegisteredApp(UpdateManager.APP_NAME)) == null) {
|
||||||
sleep(1000);
|
sleep(1000);
|
||||||
|
Reference in New Issue
Block a user