reactos/base/applications/rapps
Oleg Dubinskiy 7eb90143f8
[RAPPS] Display custom applications icons for installed applications CORE-17257 (#3144)
* [RAPPS] Display custom applications icons for installed applications
- Implement `RetrieveIcon` helper function in `CInstalledApplicationInfo` class, which retrueves the current app's icon from registry, same as it done for `CAvailableApplicationInfo`.
- Use it for loading the icon in `CAppsListView::AddInstalledApplication` function, via `ExtractIconW`. Load default Rapps icon only when the app has no its custom icon.
- Retrieve `DisplayIcon` value from registry in `CInstalledApps::Enum` function, same as other registry values (like app name, description, etc).Store it in `szDisplayIcon` string, which is used in `CInstalledApplicationInfo::RetrieveIcon` for retrieving the data of that value.
- Increase `LISTVIEW_ICON_SIZE` macro from 24 to 32, so 32x32 icon size is now used instead of 24x24. This makes displayed icons more accurate, since most of apps contain 32x32 icon, so they look a bit distorted with 24x24 size.
2020-09-20 19:19:59 +02:00
..
include [RAPPS] Display custom applications icons for installed applications CORE-17257 (#3144) 2020-09-20 19:19:59 +02:00
lang [RAPPS][CONSRV] French translation update (#3160) 2020-09-13 23:12:52 +02:00
res [RAPPS] update broken-img icon 2020-09-06 17:09:20 +02:00
appview.cpp [RAPPS] Display custom applications icons for installed applications CORE-17257 (#3144) 2020-09-20 19:19:59 +02:00
asyncinet.cpp [RAPPS] snapshot url support (#2925) 2020-09-06 17:09:19 +02:00
available.cpp [RAPPS] now /INSTALL option use PkgName instead of software name 2020-09-06 17:10:17 +02:00
cabinet.cpp [RAPPS] update some file-header 2020-09-06 17:10:16 +02:00
CMakeLists.txt [RAPPS] settings read/write refactor (#3101) 2020-09-06 17:10:18 +02:00
CreateCabFile.bat [CREATECABFILE] Update rapps example scripts for new usage 2020-09-20 17:30:26 +02:00
CreateCabFile.sh [CREATECABFILE] Update rapps example scripts for new usage 2020-09-20 17:30:26 +02:00
gui.cpp [RAPPS] Fix of unhandled exception when trying to modify/uninstall without selection (#3185) 2020-09-15 22:50:12 +02:00
installed.cpp [RAPPS] Display custom applications icons for installed applications CORE-17257 (#3144) 2020-09-20 19:19:59 +02:00
integrity.cpp [RAPPS] update some file-header 2020-09-06 17:10:16 +02:00
loaddlg.cpp [RAPPS] reduce the chance assert failed 2020-09-06 17:10:16 +02:00
misc.cpp [RAPPS] cmdline enhancement (#3087) 2020-09-06 17:10:18 +02:00
rapps.rc [RAPPS] Screenshot preview and other trivial fixes (#2894) 2020-09-06 17:09:19 +02:00
rappsmsg.mc Fix remaining text file line endings in the tree. (#18) 2017-10-06 15:00:36 +02:00
README.ENG [RAPPS] delete obsolete field 2020-06-14 20:34:43 +02:00
README.RUS [RAPPS] delete obsolete field 2020-06-14 20:34:43 +02:00
settings.cpp [RAPPS] settings read/write refactor (#3101) 2020-09-06 17:10:18 +02:00
settingsdlg.cpp [RAPPS] settings read/write refactor (#3101) 2020-09-06 17:10:18 +02:00
unattended.cpp [RAPPS] improve ConInitStdStreams initialization logic (#3098) 2020-09-06 17:10:18 +02:00
winmain.cpp [RAPPS] settings read/write refactor (#3101) 2020-09-06 17:10:18 +02:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

For more information for RAPPS, see: https://reactos.org/wiki/RAPPS

ДОБАВЛЕНИЕ ЗАГРУЖАЕМЫХ ПРОГРАММ

Для каждой программы создается отдельный текстовый файл с ini-подобным синтаксисом.
Каждое поле для любого языка может быть индивидуально. Например, для русского языка
ссылка на дистрибутив программы может быть одна, для английского - вторая, а для
китайского - третья. Можно добавлять программы только для какого-либо одного языка.
Например, 1C может быть интересна только русским, и добавлять ее для каждого языка не
имеет смысла.

Общий вид файла программы:

[Section] ; Секция для английского языка
Name = Имя программы ; Текстовое поле
RegName = Имя в реестре ; Имя, которое отображается в списке программ после установки
Version = 1.1.1 ; Текстовое поле с версией
License = Название лицензии ; Текстовое поле
Description = Описание программы ; Тектсовое поле
Size = Размер программы ; Текстовое поле
Category = 5 ; Цифровое поле с категорией
URLSite = http://www.site.com/ ; Текстовое поле. Ссылка на сайт программы
URLDownload = http://ftp.site.com/pub/installer.exe ; Текстовое поле. Ссылка для скачивания

[Section.0419] ; Секция для русского языка
Description = Описание на русском языке


Обязательными полями являются: Name, Category, URLDownload
Остальные поля заполнять не обязательно.

Список доступных категорий:
1 - Audio
2 - Video
3 - Graphics
4 - Games
5 - Internet
6 - Office
7 - Development
8 - Edutainment
9 - Engineering
10 - Finance
11 - Science
12 - Tools
13 - Drivers
14 - Libraries
15 - Themes
16 - Other

Список программ хранится на сервере и скачивается при первом включении автоматически!
Для генерации файла списка программ (обычного CAB-архива), хранящегося на сервере можно
воспользоваться скриптом CreateCabFile.bat. После скачивания (при первом включении) этот
файл останется в одной папке с программой, но будет распакован и в дальнейшем будет
использоваться распакованный вариант. Если распакованный вариант по каким-либо причинам
будет удален - распаковка будет повторена. Если будет удален CAB-файл, то он будет скачан
снова.