Changeset 181 for trunk/Core.pas


Ignore:
Timestamp:
Aug 27, 2024, 10:50:23 AM (3 months ago)
Author:
chronos
Message:
  • Added: Windows installer for version 1.5.0.
  • Modified: Version 1.5.0 related updates.
  • Modified: Trunk pushed to 1.6.0 alfa version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Core.pas

    r177 r181  
    277277    if ModalResult = mrYes then begin
    278278      {$IFDEF WINDOWS}
    279       ExecuteProgram('explorer.exe', ['"' + SelectDirectoryDialog1.FileName + '"']);
     279      ExecuteProgram('explorer.exe', ['"' + SelectDirectoryDialog1.FileName + '"'], []);
    280280      {$ENDIF}
    281281      {$IFDEF UNIX}
     
    681681  Diffuse = '/usr/bin/diffuse';
    682682  BeyondCompareLin = '/usr/bin/bcompare';
    683   BeyondCompareWin = 'c:\Program Files\Beyond Compare 4\BCompare.exe';
     683  BeyondCompareWin3 = 'c:\Program Files\Beyond Compare 3\BCompare.exe';
     684  BeyondCompareWin4 = 'c:\Program Files\Beyond Compare 4\BCompare.exe';
     685  BeyondCompareWin5 = 'c:\Program Files\Beyond Compare 5\BCompare.exe';
    684686begin
    685687  if FileExists(KDiff3) then Result := KDiff3
     
    688690  else if FileExists(Diffuse) then Result := Diffuse
    689691  else if FileExists(BeyondCompareLin) then Result := BeyondCompareLin
    690   else if FileExists(BeyondCompareWin) then Result := BeyondCompareWin
     692  else if FileExists(BeyondCompareWin5) then Result := BeyondCompareWin5
     693  else if FileExists(BeyondCompareWin4) then Result := BeyondCompareWin4
     694  else if FileExists(BeyondCompareWin3) then Result := BeyondCompareWin3
    691695  else Result := '';
    692696end;
     
    720724  {$IFOPT D+}
    721725  ATest.Enabled := True;
    722   AFileCompare.Enabled := True;
    723726  {$ENDIF}
    724727  {$IFOPT D-}
    725728  ATest.Enabled := False;
    726   AFileCompare.Enabled := False;
    727729  {$ENDIF}
    728730  ATest.Visible := ATest.Enabled;
Note: See TracChangeset for help on using the changeset viewer.