Changeset 6 for trunk/Forms/UMainForm.pas
- Timestamp:
- Feb 4, 2011, 9:45:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UMainForm.pas
r5 r6 67 67 public 68 68 Platform: string; 69 TemplateDir: string; 69 70 BinUtilsDir: string; 70 71 InstanceDir: string; 72 SubversionDir: string; 71 73 SourceDir: string; 72 74 SourceURL: string; … … 90 92 Instances := TInstanceList.Create; 91 93 Sources := TSourceList.Create; 92 Platform := 'i386-win32';93 94 BinUtilsDir := 'BinUtils'; 94 95 InstanceDir := 'Instance'; 96 TemplateDir := 'Template'; 95 97 SourceDir := 'Source'; 96 98 SourceURL := 'http://tv.zdechov.net/fpc/SourceList.xml'; 99 {$IFDEF Windows} 100 Platform := 'i386-win32'; 101 SubversionDir := 'C:\Program Files\Subversion\bin'; 102 {$ENDIF} 103 {$IFDEF Linux} 104 Platform := 'i386-linux'; 105 SubversionDir := ''; 106 {$ENDIF} 97 107 LoadInstanceList; 98 108 end; … … 154 164 if ListView1.Selected.Index < Instances.Count then 155 165 with TInstance(Instances[ListView1.Selected.Index]) do begin 166 ForceDirectoriesUTF8(GetPath); 156 167 if Assigned(FPCSource) then begin 157 168 FPCSource.Download; … … 203 214 Item.Data := Instances[Item.Index]; 204 215 if Assigned(FPCSource) then 205 Item.SubItems.Add(FPCSource. ProjectName + ' ' + FPCSource.VersionNumber)216 Item.SubItems.Add(FPCSource.GetName) 206 217 else Item.SubItems.Add(''); 207 218 if Assigned(IDESource) then 208 Item.SubItems.Add(IDESource. ProjectName + ' ' + IDESource.VersionNumber)219 Item.SubItems.Add(IDESource.GetName) 209 220 else Item.SubItems.Add(''); 210 221 Item.SubItems.Add(BooleanText[Downloaded]);
Note:
See TracChangeset
for help on using the changeset viewer.