|
@@ -531,8 +531,6 @@ begin
|
|
FConnection.Save;
|
|
FConnection.Save;
|
|
UpdateSysProgress(190, 'ÕýÔÚ±£´æÊý¾Ý');
|
|
UpdateSysProgress(190, 'ÕýÔÚ±£´æÊý¾Ý');
|
|
|
|
|
|
- DeleteFileOrFolder(MainFileName);
|
|
|
|
-
|
|
|
|
ZipFolder(FTempFolder, FileName);
|
|
ZipFolder(FTempFolder, FileName);
|
|
SaveInfoToManager;
|
|
SaveInfoToManager;
|
|
UpdateSysProgress(200, '¾ÍÐ÷');
|
|
UpdateSysProgress(200, '¾ÍÐ÷');
|
|
@@ -2146,7 +2144,10 @@ end;
|
|
|
|
|
|
function TProjectData.CheckLastPhaseFileExist: Boolean;
|
|
function TProjectData.CheckLastPhaseFileExist: Boolean;
|
|
begin
|
|
begin
|
|
- Result := FileExists(Format('%s\Phase%d.dat', [TempPath, FProjProperties.PhaseCount]));
|
|
|
|
|
|
+ if FProjProperties.PhaseCount > 0 then
|
|
|
|
+ Result := FileExists(Format('%s\Phase%d.dat', [TempPath, FProjProperties.PhaseCount]))
|
|
|
|
+ else
|
|
|
|
+ Result := True;
|
|
end;
|
|
end;
|
|
|
|
|
|
end.
|
|
end.
|