From 9e46db6d57929f42acedb600a66a2c79ad74f49b Mon Sep 17 00:00:00 2001 From: r57zone Date: Mon, 29 May 2023 15:23:04 +0400 Subject: [PATCH] Fixes --- README.RU.md | 2 +- README.md | 4 +- Source/Project1.dproj | 218 +++++++++++++++++++++++++++++++++++++++++- Source/Unit1.pas | 18 ++-- 4 files changed, 233 insertions(+), 9 deletions(-) diff --git a/README.RU.md b/README.RU.md index 5cda654..cb8531a 100644 --- a/README.RU.md +++ b/README.RU.md @@ -18,7 +18,7 @@ ![](https://user-images.githubusercontent.com/9499881/65590247-8709c480-df9b-11e9-8170-8da4b46f957a.png) ## Загрузка ->Версия для Windows 7, 8.1, 10. +>Версия для Windows 7, 8.1, 10, 11. **[Загрузить](https://github.com/r57zone/EchoBackuper/releases)** diff --git a/README.md b/README.md index 50a4f85..486ecb9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![EN](https://user-images.githubusercontent.com/9499881/33184537-7be87e86-d096-11e7-89bb-f3286f752bc6.png)](https://github.com/r57zone/EchoBackuper/blob/master/README.md) [![RU](https://user-images.githubusercontent.com/9499881/27683795-5b0fbac6-5cd8-11e7-929c-057833e01fb1.png)](https://github.com/r57zone/EchoBackuper/blob/master/README.RU.md) +– Other languages / Другие языки + # EchoBackuper Application for backups. Backups are created using the echo principle. New and updated files are copied from the original folder to the backup. Renaming, moving and deleting files occurs only in the backup. @@ -18,7 +20,7 @@ Application for backups. Backups are created using the echo principle. New and u ![](https://user-images.githubusercontent.com/9499881/65594220-5e85c880-dfa3-11e9-87c8-9b5648893299.png) ## Download ->Version for Windows 7, 8.1, 10. +>Version for Windows 7, 8.1, 10, 11. **[Download](https://github.com/r57zone/EchoBackuper/releases)** diff --git a/Source/Project1.dproj b/Source/Project1.dproj index 18570b7..73b95b9 100644 --- a/Source/Project1.dproj +++ b/Source/Project1.dproj @@ -1,7 +1,7 @@  {BDAEF3FB-DE22-480B-913A-DE52B2071C21} - 18.8 + 19.2 VCL Project1.dpr True @@ -312,6 +312,16 @@ 1 + + + res\drawable-xxxhdpi + 1 + + + res\drawable-xxxhdpi + 1 + + res\drawable-ldpi @@ -563,6 +573,32 @@ 0 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -695,6 +731,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -717,6 +763,66 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -816,6 +922,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -827,6 +943,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -871,6 +997,86 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + 1 @@ -918,6 +1124,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen + 64 + + + ..\$(PROJECTNAME).launchscreen + 64 + + 1 diff --git a/Source/Unit1.pas b/Source/Unit1.pas index d1faac3..496e03d 100644 --- a/Source/Unit1.pas +++ b/Source/Unit1.pas @@ -518,6 +518,7 @@ procedure TMain.FormCreate(Sender: TObject); begin Ini:=TIniFile.Create(ExtractFilePath(ParamStr(0)) + 'Config.ini'); CBCheckLog.Checked:=Ini.ReadBool('Main', 'LookTasks', true); + OpenDialog.InitialDir:=Ini.ReadString('Main', 'BackupFilesFolder', ''); Ini.Free; // Перевод @@ -744,7 +745,7 @@ procedure TMain.RunBtnClick(Sender: TObject); ID_FAIL_REMOVE_FILES + ' ' + IntToStr(BadDeleteFilesCounter) + #13#10 + ID_FAIL_CREATE_FOLDERS + ' ' + IntToStr(BadMakeFoldersCounter) + #13#10 + ID_FAIL_REMOVE_FOLDERS + ' ' + IntToStr(BadRemoveFoldersCounter) ), - PChar(Caption), MB_ICONINFORMATION); + PChar(Caption), MB_ICONINFORMATION or MB_TOPMOST); if Actions.Count > 0 then begin // Выводим проблемные операции LogsForm.Show; @@ -788,9 +789,14 @@ function TMain.BrowseFolderDialog(Title: PChar): string; end; procedure TMain.OpenBtnClick(Sender: TObject); +var + Ini: TIniFile; begin - if OpenDialog.Execute then - LoadBackupPaths(OpenDialog.FileName); + if not OpenDialog.Execute then Exit; + LoadBackupPaths(OpenDialog.FileName); + Ini:=TIniFile.Create(ExtractFilePath(ParamStr(0)) + 'Config.ini'); + Ini.WriteString('Main', 'BackupFilesFolder', ExtractFilePath(OpenDialog.FileName)); // Сохраняем последний выбранный каталог + Ini.Free; end; procedure TMain.CBCheckLogClick(Sender: TObject); @@ -993,7 +999,7 @@ procedure TMain.UpBtnClick(Sender: TObject); ItemDown, ItemUp: TListItem; ItemUpTitle, ItemUpPairFolders: string; begin - if (ListView.ItemIndex > 0) then begin + if ListView.ItemIndex > 0 then begin ItemUp:=ListView.Items.Item[ListView.ItemIndex - 1]; ItemDown:=ListView.Items.Item[ListView.ItemIndex]; @@ -1039,8 +1045,8 @@ procedure TMain.DownBtnClick(Sender: TObject); procedure TMain.AboutBtnClick(Sender: TObject); begin - Application.MessageBox(PChar(Caption + ' 0.8.5' + #13#10 + - ID_LAST_UPDATE + ' 01.12.2021' + #13#10 + + Application.MessageBox(PChar(Caption + ' 0.8.6' + #13#10 + + ID_LAST_UPDATE + ' 29.05.2023' + #13#10 + 'https://r57zone.github.io' + #13#10 + 'r57zone@gmail.com'), PChar(ID_ABOUT_TITLE), MB_ICONINFORMATION); end;