|
|
@ -30,6 +30,7 @@ import com.fr.general.http.HttpToolbox; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONObject; |
|
|
|
import com.fr.json.JSONObject; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.process.ProcessEventPipe; |
|
|
|
import com.fr.process.engine.core.FineProcessContext; |
|
|
|
import com.fr.process.engine.core.FineProcessContext; |
|
|
|
import com.fr.process.engine.core.FineProcessEngineEvent; |
|
|
|
import com.fr.process.engine.core.FineProcessEngineEvent; |
|
|
|
import com.fr.stable.*; |
|
|
|
import com.fr.stable.*; |
|
|
@ -600,7 +601,10 @@ public class UpdateMainDialog extends UIDialog { |
|
|
|
final String installLib = StableUtils.pathJoin(StableUtils.getInstallHome(), ProjectConstants.LOGS_NAME, UpdateConstants.INSTALL_LIB); |
|
|
|
final String installLib = StableUtils.pathJoin(StableUtils.getInstallHome(), ProjectConstants.LOGS_NAME, UpdateConstants.INSTALL_LIB); |
|
|
|
final JFrame frame = DesignerContext.getDesignerFrame(); |
|
|
|
final JFrame frame = DesignerContext.getDesignerFrame(); |
|
|
|
final RestartHelper helper = new RestartHelper(); |
|
|
|
final RestartHelper helper = new RestartHelper(); |
|
|
|
FineProcessContext.getParentPipe().fire(FineProcessEngineEvent.DESTROY); |
|
|
|
ProcessEventPipe pipe = FineProcessContext.getParentPipe(); |
|
|
|
|
|
|
|
if (pipe != null) { |
|
|
|
|
|
|
|
pipe.fire(FineProcessEngineEvent.DESTROY); |
|
|
|
|
|
|
|
} |
|
|
|
new FileProcess(callBack) { |
|
|
|
new FileProcess(callBack) { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void onDownloadSuccess() { |
|
|
|
public void onDownloadSuccess() { |
|
|
|