fix set_extra_icons for apps with spaces
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-30 16:12:34 +01:00
parent 69e83844af
commit 8c3f3e04b6

View File

@ -256,7 +256,8 @@ set_extra_icons() {
import json import json
import os import os
for key, value in json.loads(os.environ['EXTRA_ICONS']).items(): for key, value in json.loads(os.environ['EXTRA_ICONS']).items():
print(f'{key}:{value}') slug = key.replace(' ','-')
print(f'{slug}:{value}')
") ")
set_icons "$icon_key_values" set_icons "$icon_key_values"
} }