mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 05:52:52 +00:00
Introduce optional 'name' field for iconpack icons
This introduces a new (optional) 'name' field for iconpack icons. It will be used to describe the icon in the icon selection dialog. If it is not present, the name of the icon will be derived from the filename, like before. Using this new field allows usage of more exotic characters in the icon name that are not allowed in a filename.
This commit is contained in:
parent
27e56d60b5
commit
9b3e7136bd
4 changed files with 15 additions and 13 deletions
|
@ -15,11 +15,13 @@ is randomly generated once and stays the same across different versions.
|
|||
"version": 1,
|
||||
"icons": [
|
||||
{
|
||||
"name": "Google",
|
||||
"filename": "services/Google.png",
|
||||
"category": "Services",
|
||||
"issuer": [ "google" ]
|
||||
},
|
||||
{
|
||||
"name": "Blizzard",
|
||||
"filename": "services/Blizzard.png",
|
||||
"category": "Gaming",
|
||||
"issuer": [ "blizzard", "battle.net" ]
|
||||
|
@ -32,7 +34,7 @@ Every icon definition contains the filename of the icon file, relative to the
|
|||
root of the .ZIP archive. Icon definitions also have a list of strings that the
|
||||
Issuer field in Aegis is matched against for automatic selection of an icon for
|
||||
new entries. Matching is done in a case-insensitive manner. There's also a
|
||||
category field.
|
||||
category field. Optionally, icons can also have a name.
|
||||
|
||||
The following image formats are supported, in order of preference:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue