Skip to content

Commit

Permalink
Fix updater
Browse files Browse the repository at this point in the history
  • Loading branch information
riderkick committed Apr 14, 2015
1 parent dc6ebfb commit d2408f5
Show file tree
Hide file tree
Showing 12 changed files with 1,499 additions and 1,583 deletions.
2 changes: 1 addition & 1 deletion baseunits/uUpdateDBThread.pas
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ procedure TUpdateDBThread.Execute;
try
Synchronize(MainThreadShowGetting);
fmdRunAsAdmin(fmdDirectory + 'updater.exe', '-d ' + GetMangaDatabaseURL(websiteName) +
' -x -r 5', True);
' -x -r 3', True);
if FileExists(fmdDirectory + DATA_FOLDER + websiteName + '.dat') then
begin
Synchronize(MainThreadRefreshList);
Expand Down
2 changes: 1 addition & 1 deletion baseunits/uUpdateThread.pas
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ procedure TUpdateMangaManagerThread.Execute;
FStatus := 'Getting list for ' + website + ' ...';
Synchronize(MainThreadShowGetting);
fmdRunAsAdmin(fmdDirectory + 'updater.exe', '-d ' + GetMangaDatabaseURL(website) +
' -x -r 5 -q', True);
' -x -r 3 -q', True);
Synchronize(RefreshList);
end;
end
Expand Down
4 changes: 2 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ Changelog:
(! = Important, + = Addition, - = Removal, * = Bug fix/Change/Edit, ? = Require feedback)

0.9.8.1 (15-04-2015)
[*] Fix downloadmanager
[!*] Fix downloadmanager
[*] Fix Fakku, Mangacow, LectureEnligne, Japscan
[*] Various changes and bugs fixed
[!*] Various changes and bugs fixed

0.9.8.0 (12-04-2015)
[+?] Updater: add support for update FMD (experimental)
Expand Down
2 changes: 1 addition & 1 deletion mangadownloader/forms/frmMain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ procedure TMainForm.itMonitorTimer(Sender: TObject);
begin
CloseNow;
fmdRunAsAdmin(fmdDirectory + 'old_updater.exe',
'-a ' + FUpdateURL + ' -x -r 5', False);
'-a ' + FUpdateURL + ' -x -r 3 -l ' + Application.ExeName, False);
Application.Terminate;
end;
end;
Expand Down
11 changes: 8 additions & 3 deletions mangadownloader/md.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,14 @@
<PackageName Value="LCL"/>
</Item3>
</RequiredPackages>
<Units Count="21">
<Units Count="22">
<Unit0>
<Filename Value="md.lpr"/>
<IsPartOfProject Value="True"/>
</Unit0>
<Unit1>
<Filename Value="..\baseunits\uDownloadsManager.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="uDownloadsManager"/>
</Unit1>
<Unit2>
<Filename Value="..\baseunits\uFavoritesManager.pas"/>
Expand All @@ -255,14 +254,17 @@
<Unit3>
<Filename Value="..\baseunits\uUpdateThread.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="uUpdateThread"/>
</Unit3>
<Unit4>
<Filename Value="..\baseunits\uSubThread.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="uSubThread"/>
</Unit4>
<Unit5>
<Filename Value="..\baseunits\uUpdateDBThread.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="uUpdateDBThread"/>
</Unit5>
<Unit6>
<Filename Value="..\baseunits\uSilentThread.pas"/>
Expand Down Expand Up @@ -319,7 +321,6 @@
<Unit15>
<Filename Value="..\baseunits\uBaseUnit.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="uBaseUnit"/>
</Unit15>
<Unit16>
<Filename Value="..\baseunits\uMisc.pas"/>
Expand Down Expand Up @@ -347,6 +348,10 @@
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
</Unit20>
<Unit21>
<Filename Value="..\baseunits\includes\LectureEnLigne\image_url.pas"/>
<IsPartOfProject Value="True"/>
</Unit21>
</Units>
</ProjectOptions>
<CompilerOptions>
Expand Down
6 changes: 2 additions & 4 deletions mangadownloader/md.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
{$ENDIF}
{$ENDIF}
Interfaces, // this includes the LCL widgetset
richmemopackage,
Forms, FileUtil,
uBaseUnit, frmMain, frmImportList,
simpleipc, IniFiles, frmShutdownCounter, frmUpdateDialog;
Forms, FileUtil,simpleipc, IniFiles, richmemopackage,
uBaseUnit, frmMain, frmImportList, frmShutdownCounter, frmUpdateDialog;

var
CheckInstance: Boolean = True;
Expand Down
Loading

0 comments on commit d2408f5

Please sign in to comment.